Edward Hervey
1a1bfb19d4
dvbsuboverlay: Don't send flush events
...
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
2015-11-06 19:29:49 +00:00
Jan Schmidt
86a8ff50c0
dvbsuboverlay: Check if downstream supports GstVideoOverlayComposition.
...
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
2015-09-17 00:49:58 +10:00
Sebastian Dröge
50fc332ab5
dvbsuboverlay: Fix caps memory leak by making static caps actually static
...
See https://bugzilla.gnome.org/show_bug.cgi?id=754157
2015-08-27 11:10:53 +03:00
Song Bing
cdb06c6c99
dvbsuboverlay: Set query ALLOCATION need_pool to FALSE
...
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
2015-03-04 11:05:45 +01:00
Tim-Philipp Müller
d8b5675ddc
dvbsuboverlay: remove code that can't be reached
...
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.
2014-08-29 19:24:52 +01:00
Thiago Santos
eee178988a
dvbsuboverlay: improve negotiation
...
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
2014-08-11 11:35:01 -03:00
Thiago Santos
627b6ac461
dvbsuboverlay: always intersect with the filter in getcaps
...
Avoids returning unsupported caps to peers
https://bugzilla.gnome.org/show_bug.cgi?id=733916
2014-08-11 11:33:28 -03:00
Sebastian Rasmussen
128cbf4f57
dvbsuboverlay: Avoid leaking copy of caps object
...
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
2014-08-10 11:56:56 +01:00
Sebastian Dröge
066cf18336
dvbsuboverlay: Do not try to add a feature to a caps features ANY
...
It does not makes sense and asserts.
Based on 7f9aac386f
from gst-plugins-base.
2014-05-11 07:56:50 +02:00
Edward Hervey
7b15072714
dvbsuboverlay: Don't forward text gap events downstream
...
That gap is only for the subtitle stream and not for the video stream.
2014-03-18 15:18:38 +01:00
Matthieu Bouron
19724f6ece
dvbsuboverlay: handle video/x-raw(ANY) if downstream supports the GstVideoOverlayCompositionMeta API
...
https://bugzilla.gnome.org/show_bug.cgi?id=726463
2014-03-16 18:00:53 +01:00
Tim-Philipp Müller
6325b06204
dvbsuboverlay: add all supported video formats to template caps
...
We now use gst_video_overlay_composition_blend(), so can support
all video formats supported by that, not just I420.
2013-02-19 13:04:21 +00:00
Tim-Philipp Müller
f2f9e4b68a
dvbsuboverlay: proxy the allocation query
...
Pass allocation query downstream.
2013-02-19 13:04:14 +00:00
Tim-Philipp Müller
79f419c82d
dvbsuboverlay: don't forward CAPS event from subtitle pad
...
May results in not-negotiated flow errors otherwise.
2013-02-19 11:14:11 +00:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Edward Hervey
56ef4054ee
dvbsuboverlay: Use default query handlers where needed
...
And fixup getcaps handler while I'm at it
2012-09-12 15:17:56 +02:00
Mark Nauwelaerts
429204a89e
dvbsuboverlay: adjust to modified video overlay composition API
...
... and supply overlay rectangle data in AYUV as provided by input
data rather than converting to RGB.
2012-08-30 12:21:41 +02:00
Mark Nauwelaerts
a39b6cc1b8
dvbsuboverlay: no need to make buffer writable twice
2012-07-17 18:09:47 +02:00
Mark Nauwelaerts
47be2fc3d8
dvbsuboverlay: plug some ref leaks
2012-07-17 18:09:46 +02:00
Mark Nauwelaerts
081779aaa8
dvbsuboverlay: adjust to modified video overlay composition API
2012-07-17 18:09:46 +02:00
Mark Nauwelaerts
8712729a8c
dvbsuboverlay: adaptively blend or attach video overlay composition
...
Conflicts:
gst/dvbsuboverlay/gstdvbsuboverlay.c
2012-07-13 12:32:51 +02:00
Mark Nauwelaerts
2d0866ec28
dvbsuboverlay: use video overlay composition helper
...
... rather than custom home-made blending.
Conflicts:
gst/dvbsuboverlay/gstdvbsuboverlay.c
2012-07-13 12:27:57 +02:00
Mark Nauwelaerts
4374a90553
dvbsuboverlay: ensure minimum page time out of 1 second
...
... 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
2012-07-11 20:43:43 +02:00
Tim-Philipp Müller
584485b9f4
dvbsuboverlay: fix compiler warnings
...
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
2012-07-11 13:59:18 +01:00
Mark Nauwelaerts
39d2a9fb44
dvbsuboverlay: fixup end-of-display-set forcing
...
Conflicts:
gst/dvbsuboverlay/gstdvbsuboverlay.c
2012-07-11 13:49:14 +02:00
Mark Nauwelaerts
5be47b949d
dvbsuboverlay: ensure valid subtitle running time by proper clipping
...
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
2012-07-11 13:48:32 +02:00
Mark Nauwelaerts
76b147e803
dvbsuboverlay: properly force end-of-display-set
...
... 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
2012-07-11 13:45:14 +02:00
Sebastian Dröge
cda192b3b7
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 18:02:56 +02:00
Wim Taymans
77299ba6ae
fix for caps api changes
2012-03-11 19:06:59 +01:00
Wim Taymans
1119f6ee41
Merge branch 'master' into 0.11
...
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
2012-02-10 16:46:50 +01:00
Vincent Penquerc'h
8147669971
plenty: fixup glib deprecations
2012-01-27 15:47:07 +00:00
Wim Taymans
21073e98cf
port to new memory API
2012-01-25 14:51:25 +01:00
Wim Taymans
27ee60a27b
port to new gthread API
2012-01-19 11:34:26 +01:00
Vincent Penquerc'h
7521b597f4
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Matej Knopp
9d0bdcf6d7
Fix printf format compiler warnings on OS X / 64 bit
...
https://bugzilla.gnome.org/show_bug.cgi?id=662618
2011-11-23 23:43:15 +00:00
Wim Taymans
940de5b195
add parent to pad functions
2011-11-17 15:53:42 +01:00
Wim Taymans
6d92ecac75
add parent to query function
2011-11-16 17:30:38 +01:00
Wim Taymans
5231ae7252
_peer_get_caps() -> _peer_query_caps()
2011-11-15 17:24:07 +01:00
Wim Taymans
03713e5045
change getcaps to query
2011-11-15 16:34:13 +01:00
Wim Taymans
5de9be0fdd
dvbsuboverlay: port to 0.11
2011-10-10 10:15:05 +02:00
Tim-Philipp Müller
cc9e490313
dvbsuboverlay: fix up copyrights
2011-08-03 13:54:21 +01:00
Sebastian Dröge
bdf51f12d2
dvbsuboverlay: Remove some unused variables in the I420 blending function
2011-03-18 09:33:26 +01:00
Raimo Järvi
9e7d1ba888
dvbsuboverlay: Fix using alpha values in blitting.
...
Use each pixel's own alpha value instead of average alpha value when
calculating color components. Fixes bug #639763 .
2011-03-18 09:27:08 +01:00
Janne Grunau
43bfb0009a
dvbsuboverlay: fix leak of "clear screen" DVBSubtitles structs
2011-01-04 15:06:17 +00:00
Janne Grunau
9f02f693de
dvbsuboverlay: fix two minor deinitialization memory leaks
2011-01-04 13:51:55 +00:00
Janne Grunau
994156c1b8
dvbsuboverlay: remove unnecessary RGB -> YUV conversion by using YUV palettes
...
the default CLUTs still use RGB -> YUV conversions since the standard defines
them as RGBA values.
2011-01-03 20:23:24 +00:00
Alessandro Decina
143efa727e
dvbsuboverlay: fix compiler warnings
2010-12-27 13:20:28 +01:00
Tim-Philipp Müller
7a21a19499
dvbsuboverlay: clean-up: allocate flat array of rectangles
...
instead of an array of pointers to individually-allocated rectangles.
2010-12-27 11:10:53 +00:00