Loïc Minier
8492b956cd
playback: fix docs of convert-sample action signal
...
convert-sample returns a GstSample, not a GstBuffer.
https://bugzilla.gnome.org/show_bug.cgi?id=707660
2013-09-07 14:58:46 +01:00
Sebastian Dröge
61c1d15ce7
playsink: Don't set sink to NULL if a new one is set while the old one is still in use
2013-08-14 15:43:53 +02:00
Sebastian Dröge
0bd0c925e3
playsink: Remove two unused variables
2013-07-23 13:42:40 +02:00
Sebastian Dröge
94fc577dd5
playsink: Fix handling of colorbalance element if the sink does not implement it
2013-07-23 12:35:46 +02:00
Sebastian Dröge
0947c7ab30
playsink: Improve segment handling in the custom flushing for subtitle stream switches
...
This code needs a lot more work to be improved for 1.0.
2013-07-23 11:13:19 +02:00
Sebastian Dröge
4c1fc76407
playsink: ref_sink() any sinks that are set on playsink
...
Otherwise the behaviour of the properties is inconsistent.
2013-07-10 13:21:29 +02:00
Sebastian Dröge
f68b6c2626
playbin: Change sink ownership handling to be a bit more sane
...
playbin will now only activate the sinks in a single place and
will never change the states of any sinks that are owned by
playsink.
Also handle text-sinks the same way as audio/video sinks inside
playbin.
2013-07-09 14:57:05 +02:00
Sebastian Dröge
b3a15872b7
playsink: If we switch sinks, make sure that the old sink is set to NULL
2013-07-02 14:18:20 +02:00
Sebastian Dröge
c725591010
playsink: Consider new audio/video sinks when reconfiguring
2013-07-02 14:01:52 +02:00
Sreerenj Balachandran
8a2dbeb1ef
playsink: Fix the block diagram of deinterlace bin.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702465
2013-06-17 16:28:44 +02:00
Daniel Drake
d32d2f0b14
playsink: pass translated color balance value to channel
...
We found a case where untranslated values were being passed from the
proxy to the underlying channel, causing bad color balance values
in some setups.
Thanks to Sebastian Dröge for clarifying how the code works, and
suggesting the fix.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701202
2013-05-29 20:20:10 +02:00
Sebastian Dröge
1756f86042
playsink: Use signal handler IDs instead of disconnecting/blocking by function
...
This is cleaner and faster.
2013-05-21 16:35:18 +02:00
Wim Taymans
66cafcc34d
playsink: fix vis switch with format change
...
Block the pad before the resample and convertor elements to give the a chance to
negotiate new caps with the newly switched vis plugin.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679976
2012-12-13 11:34:54 +01:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Tim-Philipp Müller
81097f485a
playback: class_ref() some types so we can create multiple playback elements at the same time
...
Should fix "cannot register existing type `GstPlaybinSelectorPad'" warnings
and subsequent errors when creating multiple players at the same time.
Conflicts:
gst/playback/gststreamselector.c
2012-10-03 11:48:25 +01:00
Tim-Philipp Müller
6842698f0d
Purge all references to liboil
...
And remove unused ffmpegcolorspace tests in the process.
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 11:47:52 +01:00
Wim Taymans
ac61fb5221
playsink: unblock pads before releasing
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679823
2012-09-04 10:06:01 +02:00
Wim Taymans
0423329f91
playback: update for ghostpad changes
2012-07-18 17:50:28 +02:00
Tim-Philipp Müller
0615794300
playbin: use avdeinterlace for deinterlacing until deinterlace is ported
2012-07-17 13:45:13 +01:00
Tim-Philipp Müller
99103be50c
playsink: make extra sure to pass 64-bit integer to g_object_set when setting ts-offset
...
Might just be paranoia, but better safe than sorry. Make sure
the compiler really always passes a 64-bit integer to the
g_object_set() vararg function.
2012-07-03 20:32:57 +01:00
Sebastian Dröge
6e4d7e466d
playsink: The default signal handler should be the one that triggers pad blocks and reconfiguration
...
Conflicts:
gst/playback/gstplaysink.c
2012-06-26 11:05:42 +02:00
Sebastian Dröge
78b2fc762b
playsink: Make sure to always block all pads before reconfiguring the pipeline
...
Fixes bug #678762 .
Conflicts:
gst/playback/gstplaysink.c
2012-06-26 10:59:59 +02:00
Sebastian Dröge
7ab77c6b32
playsink: Prevent NULL pointer dereference in last change
2012-06-25 16:08:47 +02:00
Sebastian Dröge
a038e5e583
playsink: Unlink pads when switching between enabling/disabling the deinterlace chain
...
See bug #678762 .
2012-06-25 16:02:23 +02:00
Sebastian Dröge
67bbfdde4e
playsink: Connect to the value-changed signal of the child colorbalance element and proxy it
2012-06-25 15:23:19 +02:00
Sebastian Dröge
c290fabf36
playsink: Only remove the xoverlay/colorbalance elements when necessary
...
They are not added again by every code path, e.g. when switching
only the deinterlace flag and are missing then.
Fixes bug #678763 .
Conflicts:
gst/playback/gstplaysink.c
2012-06-25 15:22:55 +02:00
Sebastian Dröge
32db1ea168
playsink: Proxy the force-aspect-ratio property of video sinks
2012-06-14 09:33:29 +02:00
Wim Taymans
655fef3dbf
update for message api change
2012-06-13 11:04:34 +02:00
Wim Taymans
14237251a2
playsink: fix compilation
2012-06-07 10:52:53 +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
Sebastian Dröge
9d2e50136e
playsink: Don't use // comments and prevent unnecessary memory allocation
...
Conflicts:
gst/playback/gstplaysink.c
2012-06-06 16:31:08 -03:00
Andre Moreira Magalhaes (andrunko)
b41d19fa5f
playbin2: Properly change subtitles
...
Conflicts:
gst/playback/gstplaysink.c
2012-06-06 16:31:08 -03:00
Andre Moreira Magalhaes (andrunko)
bd5cfff9de
gstplaysink: Properly reset chain when receiving a custom flush event.
...
https://bugzilla.gnome.org/show_bug.cgi?id=638168
Conflicts:
gst/playback/gstplaysink.c
2012-06-06 16:31:08 -03:00
Thiago Santos
0dfb331cfd
playsink: do not store more than a second of subtitles
...
Use a shorter queue for subtitles to avoid switches for subtitles
taking longer than they already take.
https://bugzilla.gnome.org/show_bug.cgi?id=638168
2012-06-06 16:31:08 -03:00
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
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
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
Thiago Santos
6eee006e82
Merge branch '0.10'
2012-04-04 13:56:17 -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
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