Alban Browaeys
71e39c0e84
playsink: do not abort if a property is not found.
...
If a property is not found (for example last-sample when
gst_debug_bin_to_dot_file is used while the pipeline is
slightly broken (thus no last-sample) the unref of the item
gvalue which is not refed fails. Only unref if it was found.
2012-05-15 09:22:44 +02:00
Alban Browaeys
7e054c9af0
playsink: missing guard around gst pad add probe
...
This miss prevent from switching from one track to the other.
Issue encountered with rhythmbox and totem ports.
2012-05-15 09:22:12 +02:00
Mark Nauwelaerts
4ce453de97
playbin2: default text element is now subtitleoverlay
...
... and not so much textoverlay, though the former also uses the latter.
2012-05-14 10:14:36 +02:00
Руслан Ижбулатов
d34b8023e9
playsink: fix printf arguments in debug message
2012-05-12 13:53:40 +01:00
Wim Taymans
6bd0272512
uridecodebin: fix format strings
2012-05-11 16:16:33 +02:00
Wim Taymans
cd1d6f7d2d
decodebin2: fix format strings
2012-05-11 15:33:31 +02:00
Wim Taymans
163720246e
decodebin2: fix compilation
2012-05-11 09:26:47 +02:00
Thibault Saunier
445c41963b
playback: Check type when setting "connection-speed" on unknown elements
...
Clamp the values if needed
2012-05-10 13:21:04 -04:00
Thibault Saunier
ee4ae0041c
decodebin2: Add a connection-speed property to set it on demuxers when needed
...
Proxy it from uridecodebin
2012-05-10 13:11:47 -04:00
Sebastian Dröge
cc717f1f62
playsink: Initialize variable to silence wrong compiler warning
2012-05-09 12:03:44 +02:00
Sebastian Dröge
d7371bc87c
playsink: Port changes to 0.11
2012-05-09 10:30:55 +02:00
Mark Nauwelaerts
e623bea6fa
playbin2: properly reconfigure upon subsequent no-more-pads
...
... such as during switch in chained ogg.
2012-05-09 10:28:35 +02:00
Wim Taymans
7736044d45
playsink: make playsink reusable
...
The sinkpads are unblocked when going from PAUSED->READY, we need to block them
again when going READY->PAUSED. The blocking of the pad previously only happened
when it was freshly obtained with _request_pad or when the caps changed. If we
don't release the pad when going to READY it was previously never blocked again
causing not-linked errors.
2012-05-01 12:19:11 +02:00
Wim Taymans
f21b7437e7
playsink: don't leak the colorbalance element
2012-05-01 12:09:31 +02:00
Akihiro Tsukada
94beeb713a
playbin2: Don't hold the playbin lock in the autoplug-continue callback
...
It's not necessary there as the group lock already protects everything
we access here and causes deadlocks in some cases.
Fixes bug #673708 .
2012-04-17 09:57:17 +02:00
Matej Knopp
b6765417e1
decodebin: Do not block on sticky and oob events
2012-04-16 13:49:07 +02:00
Sebastian Dröge
fe9041bd05
decodebin2: Check that properties have the correct type before using them
2012-04-16 08:27:20 +02:00
Sebastian Dröge
15d92392b5
uridecodebin: Check that properties have the correct type before using them
2012-04-16 08:27:09 +02:00
Julian Scheel
fd4c8d9252
uridecodebin: Never treat live sources as streaming sources.
...
For streaming sources a queue is added before the demuxer, which can not be
properly filled by live sources. As http source can be live sources, this
caused issues for example with http live sources.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674057
2012-04-14 10:52:26 +02:00
Sebastian Dröge
69b18ab09d
gst-libs: Remove interfaces libs and mixer/tuner interfaces
...
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Tim-Philipp Müller
3c6a3ad629
Use new gst_element_class_set_static_metadata()
2012-04-10 00:45:16 +01:00
Sebastian Dröge
ec2e470ecc
playback: Remove gstdecodebin.c, which is nowaday unused anyway
2012-04-06 10:54:42 +02:00
Sebastian Dröge
ad42b16375
gst: Update for GST_PLUGIN_DEFINE() API change
2012-04-05 15:11:05 +02:00
Thiago Santos
6eee006e82
Merge branch '0.10'
2012-04-04 13:56:17 -03:00
Thiago Santos
4b349306b0
playbin2: Use new playsink send-event-mode property
...
Set playsink's send-event-mode to MODE_FIRST as playbin2 only
needs one event going to the demuxer for its operation
https://bugzilla.gnome.org/show_bug.cgi?id=673211
2012-04-04 11:38:29 -03:00
Thiago Santos
84abbe0d52
playsink: add send-event-mode property
...
Adds a property for playsink to define how it should handle
events sent in send_event function. The default is the same as
GstBin's, sending events to all internal sinks. There is also
mode-first, that will send to sinks until the one handles the
event successfully.
https://bugzilla.gnome.org/show_bug.cgi?id=673211
2012-04-04 11:38:29 -03:00
Sebastian Dröge
65307dd132
gst: Update versioning
2012-04-04 14:55:15 +02:00
Sebastian Dröge
9e13d70b2c
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
gst-libs/gst/video/video-overlay-composition.c
tests/check/libs/video.c
2012-03-29 15:00:22 +02:00
Sebastian Dröge
4872c7bf75
playsink: Fix subtitle rendering if there's no video, no visualizations but a text-sink
2012-03-23 11:07:49 +01:00
Wim Taymans
32bd12dba9
Merge branch 'master' into 0.11
...
Conflicts:
.gitignore
common
configure.ac
ext/vorbis/gstvorbisdeclib.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/riff/riff-read.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
tests/check/libs/video.c
2012-03-22 11:35:13 +01:00
Vincent Penquerc'h
73605cb33d
playsink: send navigation event to the sink as a fallback
...
When the video sink is a fakesink, which does not implement the
navigation interface, playsink will drop the navigation command.
In this case, send to the video sink as a fallback. It breaks
the interface abstraction, but is better than just dropping the
navigation event.
2012-03-15 13:02:34 +00:00
Mark Nauwelaerts
9fc640b9e0
playsink: remove circular ref between bin and internal pad
...
... by not assigning an additional ref to an async blocked callback,
which should not be called anyway by the time the object is gone.
Fixes #672006 .
2012-03-14 17:32:10 +01:00
Mark Nauwelaerts
d13e1b49f6
playsink: provide fresh copy for gst_caps_merge
...
... since it is documented to modify provided caps.
2012-03-13 15:28:00 +01:00
Wim Taymans
25137962ad
fix for caps API changes
2012-03-11 19:04:41 +01:00
Mark Nauwelaerts
8c99412a0d
playbin2: do not take a superfluous ref on uridecodebin instances
...
... which are no longer FLOATING.
2012-03-09 14:19:41 +01:00
Mark Nauwelaerts
5fee17ac8f
uridecodebin: restore FLOATING flag when reusing decodebin instance
...
... which avoids leaking these due to an extra ref later on.
2012-03-09 14:19:14 +01:00
Tim-Philipp Müller
29c266ccff
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
common
docs/libs/gst-plugins-base-libs.types
ext/pango/gsttextoverlay.c
ext/vorbis/gstvorbisdec.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c
2012-03-08 20:31:34 +00:00
Mark Nauwelaerts
b2a162ca77
playsink: audio convert bin need not be unconditionally present
...
... so avoid NULL manipulation when setting up chain again
(e.g. after having partially gone down to READY in native audio flag
configuration).
2012-03-08 17:58:17 +01:00
Mark Nauwelaerts
5462536a36
playsink: plug element leak
2012-03-08 15:35:46 +01:00
Sebastian Dröge
15091ad124
playsink: Chain up to the parent's GstBin::handle_message() for non-prepare-xoverlay element messages
2012-03-05 15:24:20 +01:00
Sebastian Dröge
a80c82cd80
playback: Link to libgstinterfaces too for the navigation interface
2012-03-02 11:31:23 +01:00
Sebastian Dröge
006f8f8275
gst: Update for gstmarshal.[ch] removal
2012-03-02 11:15:02 +01:00
Sebastian Dröge
f7939bb43f
Merge branch 'master' into 0.11
...
Conflicts:
NEWS
RELEASE
configure.ac
docs/plugins/gst-plugins-base-plugins.args
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/app/gstappsink.c
gst-libs/gst/audio/mixer.c
gst-libs/gst/audio/mixer.h
gst-libs/gst/tag/gstxmptag.c
gst-libs/gst/video/colorbalance.c
gst-libs/gst/video/colorbalance.h
gst/adder/gstadder.c
gst/playback/gstplaybasebin.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/videoscale/gstvideoscale.c
tests/check/elements/videoscale.c
tests/examples/seek/seek.c
tests/examples/v4l/probe.c
win32/common/_stdint.h
win32/common/audio-enumtypes.c
win32/common/config.h
2012-03-02 10:00:55 +01:00
Edward Hervey
59918e841f
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:28:15 +01:00
Sebastian Dröge
361e1e2e98
playsink: Use g_signal_handlers_block_by_func()/unblock_by_func() instead of disconnecting and reconnecting
2012-02-23 13:41:25 +01:00
Sebastian Dröge
0ef49c5275
playbin2: Proxy colorbalance interface
2012-02-23 13:32:00 +01:00
Sebastian Dröge
4289c0c899
playsink: Proxy colorbalance interface
2012-02-23 13:32:00 +01:00
Sebastian Dröge
46a3ea011d
playbin2: Proxy navigation interface
2012-02-23 11:56:37 +01:00
Sebastian Dröge
d5779c96c4
playsink: Proxy navigation interface
2012-02-23 11:54:27 +01:00
Sebastian Dröge
9dab4a8477
playbin2: Proxy the XOverlay interface
2012-02-23 11:42:55 +01:00