Wim Taymans
0423329f91
playback: update for ghostpad changes
2012-07-18 17:50:28 +02:00
Tim-Philipp Müller
81213ca040
playbin: don't use deprecated textoverlay properties
2012-07-06 12:37:56 +01:00
Wim Taymans
655fef3dbf
update for message api change
2012-06-13 11:04:34 +02:00
Andre Moreira Magalhaes (andrunko)
88d3b7aeee
playbin2: Send flush events when changing subtitle tracks and use new input-selector modes for subtitle tracks
...
For audio/video we should flush too for fastest stream switches but this
currently isn't possible because the flushes would need to go to the sink,
which then causes state changes and causes all timing information to be
changed.
Should work out of the box in 0.11 with the flush-stop that doesn't reset
the times.
Conflicts:
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/playback/gstsubtitleoverlay.c
2012-06-06 16:31:09 -03:00
Thiago Santos
c095dc29fe
subtitleoverlay: pass correct parameter to debug message
...
Get the format name to pass to the debug message, as it expects a string
2012-06-06 16:31:08 -03:00
Andre Moreira Magalhaes (andrunko)
5627aa81bd
gstsuboverlay: Convert NewSegment events to always be in the TIME format.
...
https://bugzilla.gnome.org/show_bug.cgi?id=638168
Conflicts:
gst/playback/gstsubtitleoverlay.c
2012-06-06 16:31:07 -03:00
Tim-Philipp Müller
3c6a3ad629
Use new gst_element_class_set_static_metadata()
2012-04-10 00:45:16 +01:00
Wim Taymans
25137962ad
fix for caps API changes
2012-03-11 19:04:41 +01:00
Wim Taymans
4370d42cb9
playback: find raw caps correctly
2012-02-20 15:21:37 +01:00
Wim Taymans
6d5882754f
subtitle: avoid deadlock
2012-02-17 14:37:18 +01:00
Vincent Penquerc'h
e16d8e3b19
subtitleoverlay: log why an overlay element cannot be used
2012-02-14 00:06:53 +00:00
Vincent Penquerc'h
bc9b231905
subtitleoverlay: fix probing of raw video caps
...
They're now video/x-raw, not video/x-raw-* anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=668682
2012-02-14 00:06:33 +00:00
Vincent Penquerc'h
66e05c04b8
subtitleoverlay: add a couple drive by const
...
https://bugzilla.gnome.org/show_bug.cgi?id=668682
2012-02-14 00:06:17 +00:00
Wim Taymans
0dd59060d9
subtitleoverlay: fix merge error
...
Fix merge error from commit fb6d09055a
2012-02-09 15:51:10 +01:00
Wim Taymans
15b7375c44
subtitle: fix merge
2012-01-25 12:33:03 +01:00
Sebastian Dröge
68c0790817
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/interfaces/propertyprobe.c
sys/xvimage/xvimagesink.c
2012-01-25 11:50:54 +01:00
Anssi Hannula
dd8f9aca92
subtitleoverlay: fix state change stall on PAUSED->READY->PAUSED
...
After a PAUSED->READY change the sink pads are currently not set to
blocking state. When the element is set back to PAUSED, the change will
be done asynchronously, but as the _pad_blocked_cb() callback is now not
called, the state change never completes.
Fix that by setting the sink pads to blocking state on a PAUSED->READY
change, which ensures that the _pad_blocked_cb() is called when needed
on any future READY->PAUSED change. The sink pads are already put to
blocking state on NULL->READY change, so this behavior is consistent.
Fixes bug #668097 .
2012-01-20 17:29:06 +00:00
Tim-Philipp Müller
26e612aeda
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()
2012-01-02 14:32:11 +00:00
Edward Hervey
f562a29284
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/theora/gsttheoraenc.c
gst-libs/gst/tag/gstexiftag.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/playback/gstdecodebin2.c
gst/playback/gstsubtitleoverlay.c
tests/check/libs/tag.c
2011-12-30 13:21:35 +01:00
Wim Taymans
db4d5af9b6
subtitle: don't use GST_CAPS_NONE macro
...
This macro returns a singleton.
2011-12-20 12:53:16 +01:00
Sebastian Dröge
cd11d68716
subtitleoverlay: Refactor code to check if a property exists on an element
2011-12-13 13:31:03 +01:00
Sebastian Dröge
87a4cbd0e3
subtitleoverlay: Refactor autoplugging code and select overlay element by rank too
...
Previously we always used textoverlay for rendering the output of
a parser, now the same code as for the renderers is used and the
element with the highest rank is used.
Fixes bug #663822 .
2011-12-13 13:31:03 +01:00
Tim-Philipp Müller
fb6d09055a
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/alsa/gstalsadeviceprobe.c
ext/alsa/gstalsamixer.c
ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h
gst-libs/gst/audio/gstaudiobasesink.c
gst-libs/gst/audio/gstaudioringbuffer.c
gst-libs/gst/audio/gstaudiosrc.c
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst/encoding/gststreamcombiner.c
gst/encoding/gststreamsplitter.c
gst/playback/gstplaybasebin.c
gst/playback/gststreamsynchronizer.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
sys/xvimage/xvimagesink.c
tests/examples/Makefile.am
win32/common/libgstvideo.def
Video overlay composition disabled for now, needs
porting to buffer meta.
2011-12-08 01:19:03 +00:00
Thibault Saunier
8728023f00
subtitleoverlay: add suport for hardware accelerated videos
...
Don't plug converters for non-raw video.
2011-12-06 12:44:24 +00:00
Tim-Philipp Müller
0d98aa25b8
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
Replace g_thread_create() with g_thread_try_new().
2011-12-04 17:16:30 +00:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Wim Taymans
e302833e65
add parent to pad functions
2011-11-17 12:48:25 +01:00
Wim Taymans
2202511e77
add parent to query function
2011-11-16 17:25:17 +01:00
Wim Taymans
28157e6f21
_query_peer_*() -> _peer_query_*()
2011-11-15 18:04:17 +01:00
Wim Taymans
7402d3a3d2
update for _get_caps() -> _query_caps()
2011-11-15 18:04:17 +01:00
Wim Taymans
ab9ffa93f5
change getcaps to query
...
Add sink and src event functions in rtpbasepayload
Add query vmethod to rtpbasepayload.
2011-11-15 18:04:16 +01:00
Wim Taymans
f2ab0b8f19
upates for new ACCEPT_CAPS query
2011-11-09 17:37:31 +01:00
Wim Taymans
308f6301a8
update for pad probe api changes
2011-11-08 11:08:21 +01:00
Wim Taymans
616e9b706e
fix for new pad probe types
...
Restore the previous behaviour by only blocking downstream items and not
upstream events.
2011-11-07 17:10:48 +01:00
Wim Taymans
7ac25e9b26
Merge branch 'master' into 0.11
...
Conflicts:
common
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkaudioconvert.h
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstplaysinkvideoconvert.h
2011-11-07 12:23:15 +01:00
Sebastian Dröge
7875ee11a5
subtitleoverlay: Use gst_caps_merge() instead of gst_caps_union()
...
This keeps the caps order and is more efficient.
2011-11-04 10:38:39 +01:00
Tim-Philipp Müller
b52c5819fb
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:34:28 +00:00
Tim-Philipp Müller
edc7b45dc6
subtitleoverlay: don't include header that's been removed
2011-10-31 14:26:09 +00:00
Tim-Philipp Müller
d06ad8e95e
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-31 14:22:58 +00:00
Tim-Philipp Müller
b6c424018b
subtitleoverlay: don't use soon-to-be-deprecated gst_filter_run()
2011-10-30 20:00:47 +00:00
Wim Taymans
016d036137
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/audioconvert/channelmixtest.c
gst/playback/gstplaybasebin.c
gst/playback/gstsubtitleoverlay.c
tests/examples/Makefile.am
tests/examples/audio/Makefile.am
2011-10-27 15:44:58 +02:00
René Stadler
6ffaccd284
subtitleoverlay: fix leaks of pad templates and internal proxy pads
2011-10-19 19:47:38 +02:00
René Stadler
56419cce77
subtitleoverlay: fix leak of element reference through pad block
...
If the pad block never happens because there is no data flow at all, the
callback is never fired and the reference is never released. This causes a
reference cycle between the pad and element, so valgrind is not very vocal
about it (memory is still reachable).
2011-10-19 19:47:38 +02:00
René Stadler
becba526d9
subtitleoverlay: fix event unref in (rare) error case
2011-10-18 13:02:43 +02:00
Wim Taymans
bf57108e6a
Revert "sbutitleoverlay: fix compiler warning"
...
This reverts commit ed792293e7
.
Not needed anymore because of another commit
2011-09-30 11:45:51 +02:00
Wim Taymans
ed792293e7
sbutitleoverlay: fix compiler warning
2011-09-30 11:04:19 +02:00
Tim-Philipp Müller
4b43972cf4
subitleoverlay: fix compiler warning
...
gstsubtitleoverlay.c: In function 'gst_subtitle_overlay_video_sink_event':
gstsubtitleoverlay.c:1736:22: error: 'target' may be used uninitialized in this function
2011-09-29 21:30:52 +01:00
Edward Hervey
17bfba09f1
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggdemux.c
ext/pango/gsttextoverlay.c
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudiosrc.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
2011-09-23 18:27:11 +02:00
Sebastian Dröge
01d37532b6
subtitleoverlay: Get the target of the video sinkpad, not the target sinkpad in the video setcaps handler
2011-09-19 14:02:00 +02:00
Sebastian Dröge
b1bb1e9b26
subtitleoverlay: Implement support for switching between raw and non-raw video streams
2011-09-19 11:24:47 +02:00