summaryrefslogtreecommitdiff
path: root/gst/dvbsuboverlay/gstdvbsuboverlay.c
Commit message (Collapse)AuthorAgeFilesLines
* dvbsuboverlay: Don't send flush eventsEdward Hervey2015-11-071-30/+3
| | | | | | It is up to the element handling the seek to send flush events downstream, otherwise we end up with a situation where upstream would get unexpected GST_FLOW_FLUSHING
* dvbsuboverlay: Check if downstream supports GstVideoOverlayComposition.Jan Schmidt2015-09-171-3/+13
| | | | | | | | Fix the negotiation of GstVideoOverlayComposition by checking intersection with the peer caps, rather than just accept-caps, which might only check the pad template. https://bugzilla.gnome.org/show_bug.cgi?id=755113
* dvbsuboverlay: Fix caps memory leak by making static caps actually staticSebastian Dröge2015-08-271-1/+1
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=754157
* dvbsuboverlay: Set query ALLOCATION need_pool to FALSESong Bing2015-03-041-1/+1
| | | | | | | Set query ALLOCATION need_pool to FALSE as it only need query if can support video overlay composition meta. https://bugzilla.gnome.org/show_bug.cgi?id=745495
* dvbsuboverlay: remove code that can't be reachedTim-Philipp Müller2014-08-291-7/+2
| | | | | | If this code could ever be reached, it would leak memory (CID 1231977), but gst_caps_get_features() never returns NULL, so that can't happen.
* dvbsuboverlay: improve negotiationThiago Santos2014-08-111-24/+69
| | | | | | | Check if downstream supports overlay meta, if possible use it and if not fallback to no-overlay caps https://bugzilla.gnome.org/show_bug.cgi?id=733916
* dvbsuboverlay: always intersect with the filter in getcapsThiago Santos2014-08-111-27/+14
| | | | | | Avoids returning unsupported caps to peers https://bugzilla.gnome.org/show_bug.cgi?id=733916
* dvbsuboverlay: Avoid leaking copy of caps objectSebastian Rasmussen2014-08-101-2/+2
| | | | | | | gst_pad_get_pad_template_caps() returns a reference which is unreferenced, so creating a copy using gst_caps_copy() results in a reference leak. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734528
* dvbsuboverlay: Do not try to add a feature to a caps features ANYSebastian Dröge2014-05-111-1/+3
| | | | | | It does not makes sense and asserts. Based on 7f9aac386fd5d5921c80100889a5f212c0148a88 from gst-plugins-base.
* dvbsuboverlay: Don't forward text gap events downstreamEdward Hervey2014-03-181-0/+4
| | | | That gap is only for the subtitle stream and not for the video stream.
* dvbsuboverlay: handle video/x-raw(ANY) if downstream supports the ↵Matthieu Bouron2014-03-161-25/+241
| | | | | | GstVideoOverlayCompositionMeta API https://bugzilla.gnome.org/show_bug.cgi?id=726463
* dvbsuboverlay: add all supported video formats to template capsTim-Philipp Müller2013-02-191-2/+4
| | | | | We now use gst_video_overlay_composition_blend(), so can support all video formats supported by that, not just I420.
* dvbsuboverlay: proxy the allocation queryTim-Philipp Müller2013-02-191-0/+2
| | | | Pass allocation query downstream.
* dvbsuboverlay: don't forward CAPS event from subtitle padTim-Philipp Müller2013-02-191-0/+5
| | | | May results in not-negotiated flow errors otherwise.
* Fix FSF addressTim-Philipp Müller2012-11-041-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687520
* Use gst_element_class_set_static_metadata()Tim-Philipp Müller2012-10-171-1/+1
| | | | | where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
* replace gst_element_class_set_details_simple with gst_element_class_set_metadataMark Nauwelaerts2012-09-141-1/+1
|
* dvbsuboverlay: Use default query handlers where neededEdward Hervey2012-09-121-8/+8
| | | | And fixup getcaps handler while I'm at it
* dvbsuboverlay: adjust to modified video overlay composition APIMark Nauwelaerts2012-08-301-19/+3
| | | | | ... and supply overlay rectangle data in AYUV as provided by input data rather than converting to RGB.
* dvbsuboverlay: no need to make buffer writable twiceMark Nauwelaerts2012-07-171-1/+0
|
* dvbsuboverlay: plug some ref leaksMark Nauwelaerts2012-07-171-0/+2
|
* dvbsuboverlay: adjust to modified video overlay composition APIMark Nauwelaerts2012-07-171-2/+5
|
* dvbsuboverlay: adaptively blend or attach video overlay compositionMark Nauwelaerts2012-07-131-4/+54
| | | | | | Conflicts: gst/dvbsuboverlay/gstdvbsuboverlay.c
* dvbsuboverlay: use video overlay composition helperMark Nauwelaerts2012-07-131-239/+123
| | | | | | | | ... rather than custom home-made blending. Conflicts: gst/dvbsuboverlay/gstdvbsuboverlay.c
* dvbsuboverlay: ensure minimum page time out of 1 secondMark Nauwelaerts2012-07-111-0/+7
| | | | | | | ... to compensate for some bogus subtitle with a 0 timeout, which would result in only being shown for a very unreadable amount of time. See https://bugzilla.gnome.org/show_bug.cgi?id=666674
* dvbsuboverlay: fix compiler warningsTim-Philipp Müller2012-07-111-3/+3
| | | | | | gstdvbsuboverlay.c:772:15: error: pointer targets in passing argument 5 of 'gst_segment_clip' differ in signedness /home/tpm/gst/0.11/gstreamer/gst/gstsegment.h:192:14: note: expected 'guint64 *' but argument is of type 'gint64 *' gstdvbsuboverlay.c:772:15: error: pointer targets in passing argument 6 of 'gst_segment_clip' differ in signedness
* dvbsuboverlay: fixup end-of-display-set forcingMark Nauwelaerts2012-07-111-1/+1
| | | | | | Conflicts: gst/dvbsuboverlay/gstdvbsuboverlay.c
* dvbsuboverlay: ensure valid subtitle running time by proper clippingMark Nauwelaerts2012-07-111-13/+31
| | | | | | | | | | | | In particular, pass buffer timestamp (pts) to dvb_sub, and then clip and convert to running time when the duration (timeout) is known after decoding it. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=660233 Conflicts: gst/dvbsuboverlay/gstdvbsuboverlay.c
* dvbsuboverlay: properly force end-of-display-setMark Nauwelaerts2012-07-111-0/+36
| | | | | | | | | | | ... which is upon receiving new data with different PTS spec-wise, or optionally upon each packet of subtitle data if desired by property. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=669310 Conflicts: gst/dvbsuboverlay/gstdvbsuboverlay.c
* gst: Update for GST_PLUGIN_DEFINE() API changesSebastian Dröge2012-04-051-1/+1
|
* fix for caps api changesWim Taymans2012-03-111-4/+5
|
* Merge branch 'master' into 0.11Wim Taymans2012-02-101-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/chromaprint/gstchromaprint.c ext/mpeg2enc/Makefile.am ext/voaacenc/gstvoaacenc.c gst/dvbsuboverlay/gstdvbsuboverlay.c gst/mpegtsdemux/mpegtsbase.c gst/sdp/gstsdpdemux.c gst/videoparsers/gsth264parse.c sys/d3dvideosink/d3dvideosink.c tests/examples/camerabin/gst-camera-perf.c tests/examples/camerabin/gst-camerabin-test.c tests/examples/camerabin2/gst-camerabin2-test.c tests/examples/mxf/mxfdemux-structure.c tests/examples/scaletempo/demo-main.c
| * plenty: fixup glib deprecationsVincent Penquerc'h2012-01-271-2/+2
| |
| * various: fix pad template ref leaksVincent Penquerc'h2011-11-281-6/+5
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=662664
* | port to new memory APIWim Taymans2012-01-251-7/+7
| |
* | port to new gthread APIWim Taymans2012-01-191-9/+8
| |
* | Fix printf format compiler warnings on OS X / 64 bitMatej Knopp2011-11-231-2/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=662618
* | add parent to pad functionsWim Taymans2011-11-171-21/+23
| |
* | add parent to query functionWim Taymans2011-11-161-9/+10
| |
* | _peer_get_caps() -> _peer_query_caps()Wim Taymans2011-11-151-1/+1
| |
* | change getcaps to queryWim Taymans2011-11-151-6/+46
| |
* | dvbsuboverlay: port to 0.11Wim Taymans2011-10-101-134/+96
|/
* dvbsuboverlay: fix up copyrightsTim-Philipp Müller2011-08-031-0/+1
|
* dvbsuboverlay: Remove some unused variables in the I420 blending functionSebastian Dröge2011-03-181-19/+4
|
* dvbsuboverlay: Fix using alpha values in blitting.Raimo Järvi2011-03-181-28/+26
| | | | | Use each pixel's own alpha value instead of average alpha value when calculating color components. Fixes bug #639763.
* dvbsuboverlay: fix leak of "clear screen" DVBSubtitles structsJanne Grunau2011-01-041-0/+2
|
* dvbsuboverlay: fix two minor deinitialization memory leaksJanne Grunau2011-01-041-0/+8
|
* dvbsuboverlay: remove unnecessary RGB -> YUV conversion by using YUV palettesJanne Grunau2011-01-031-99/+27
| | | | | the default CLUTs still use RGB -> YUV conversions since the standard defines them as RGBA values.
* dvbsuboverlay: fix compiler warningsAlessandro Decina2010-12-271-1/+1
|
* dvbsuboverlay: clean-up: allocate flat array of rectanglesTim-Philipp Müller2010-12-271-1/+1
| | | | instead of an array of pointers to individually-allocated rectangles.