Wim Taymans
1a557e60ea
playbin2: fix refcounting of visualisations
...
See #577794 .
2009-04-10 13:42:56 +02:00
Wim Taymans
33ef15fad6
playsink: fix refcounting of custom elements
...
Sink the custom sinks, let other elements we create be sunken by the bin we add
them to.
Fixes #577794 .
2009-04-10 13:27:41 +02:00
Wim Taymans
f25e4e4743
playbin2: handle missing input-selector
...
Gracefully degrade and disable stream selection when input-selector is
missing.
2009-04-10 12:26:16 +02:00
Stefan Kost
509256dce5
playbin2: better error message on sink failure
...
If we could create the sinks, but the don't work, don't send the missing plugin
message and report that the state-changed failed.
2009-04-08 16:43:27 +03:00
Michael Smith
a0959afb01
playbin2: don't leak selector when getting current stream numbers.
2009-04-03 10:51:42 -07:00
Jan Schmidt
c2a56e3115
playbin: Add simple 'raw decoding mode'.
...
Raw decoding mode removes almost all buffering in video and audio queues
when a source providing already decoded video/audio is detected, on the
possibly bogus assumption that such a source should provide sufficient
internal queueing. Fixes playback on some DVDs, and improves it
on all.
2009-04-02 12:18:08 +01:00
Sebastian Dröge
22f99da35c
videoscale: Don't read over line ends when taking the last Cr or Cb
2009-04-02 11:10:12 +02:00
Sebastian Dröge
db1236505e
videoscale: Don't write to few pixels and don't mix Cr and Cb
...
Fixes bug #577054 .
2009-04-02 10:53:10 +02:00
Tim-Philipp Müller
d271c8de53
audioresample: fix negotiation so that upstream can actually fixate to downstream's rate
...
If one side has a preference for a particular sample rate or set of sample rates, we
should honour this in the caps we advertise and transform to and from, so that elements
actually know about the other side's sample rate preference and can negotiate to it
if supported. Also add unit test for this.
2009-04-01 15:36:38 +01:00
Tim-Philipp Müller
ce51cad163
docs: add a blurb about redirect messages to playbin2 docs
2009-04-01 15:36:37 +01:00
Sebastian Dröge
ab7d52c053
videoscale: Fix linear scaling for one byte components
...
Fixes bug #577054 .
2009-03-29 12:01:33 +02:00
Sebastian Dröge
954b1713e1
videoscale: Fix 4tap scaling of YUYV and friends
2009-03-29 11:53:40 +02:00
Sebastian Dröge
9d586e0475
videoscale: Rewrite YUYV (and friends) scaling and don't read/write over line ends
...
Partially fixes bug #577054 , there's just one issue left now.
2009-03-28 16:08:44 +01:00
Sebastian Dröge
b5793ccd0d
videoscale: Use bilinear instead of 4tap scaling for heights < 4
...
Partially fixes bug #577054 .
2009-03-28 11:57:35 +01:00
Sebastian Dröge
8eb3572eef
videoscale: Don't read after the end of a line when lineary scaling YUYV/UYVY/RGB/RGBA
...
This case is for upscaling a frame with width=1
Partially fixes bug #577054 .
2009-03-28 11:57:19 +01:00
Sebastian Dröge
b69231ad21
videoscale: Don't read after the end of a line when lineary scaling YUYV/UYVY
...
Partially fixes bug #577054 .
2009-03-28 11:27:56 +01:00
Sebastian Dröge
1c36c03001
videotestsrc: Initialize buffer memory with zeroes
...
This prevents valgrind warnings when accessing the "x" parts
of xRGB and friends in other elements that handle (and can handle)
xRGB like ARGB (for example videoscale).
2009-03-28 10:40:43 +01:00
Sebastian Dröge
e2f823c2f3
videocale: Add support for video/x-raw-gray with bpp=depth=8
2009-03-28 10:06:24 +01:00
Sebastian Dröge
dea48dc885
videotestsrc: Add support for generating video/x-raw-gray with bpp=depth=8
2009-03-28 10:01:00 +01:00
Sebastian Dröge
77bc4ff763
ffmpegcolorspace: video/x-raw-gray is the same as the YUV Y800 format
2009-03-28 09:43:23 +01:00
Sebastian Dröge
96b9ec4da0
videoscale: Take the next luma value instead of every second next when scaling UYVY and friends
2009-03-27 19:12:49 +01:00
Sebastian Dröge
12bbcc4db9
videoscale: Add support for v308 YUV colorspace
2009-03-27 19:09:47 +01:00
Sebastian Dröge
92eb02c71f
videoscale: Add my copyright to the 4tap scalers
2009-03-27 13:15:11 +01:00
Sebastian Dröge
014f6f1508
videoscale: Enable 4-tap scaling for all supported formats
2009-03-27 13:14:17 +01:00
Sebastian Dröge
77795ac240
videoscale: Implement 4-tap scaling for RGB565 and RGB555
2009-03-27 13:14:00 +01:00
Sebastian Dröge
c1653fc5b0
videoscale: Implement 4-tap scaling for UYVY
2009-03-27 10:47:39 +01:00
Sebastian Dröge
435e9f8b38
videoscale: Implement 4-tap scaling for YUY2 and YVYU
2009-03-27 09:33:58 +01:00
Sebastian Dröge
2045a89350
videoscale: Implement 4-tap scaling for RGB and BGR
2009-03-26 22:14:53 +01:00
Sebastian Dröge
c2d31eb2d1
videoscale: Implement 4-tap scaling for RGBA and other 4 byte formats
2009-03-26 22:08:26 +01:00
Wim Taymans
5ec2d48f0a
decodebin2: do some more cleanup
...
Free the groups when we go to READY.
Allow for NO_PREROLL elements.
2009-03-25 19:01:45 +01:00
Wim Taymans
9bf8277d13
playbin2: add more support for subpictures
2009-03-24 18:29:28 +01:00
Wim Taymans
e7b382c6a9
playbin2: first support for subpictures
...
Add beginnings of subpicture support.
2009-03-24 17:12:53 +01:00
Wim Taymans
786b0c248c
playbin2: blacklist subpictures for now
...
Blacklist the subpictures until we add support for them.
Add some small debug info.
See #576408 .
2009-03-24 12:23:24 +01:00
Wim Taymans
852ace9cce
uridecodebin: expose more media types
...
Expose more media types from a raw source, such as the subpicture and various
text pads.
Small cleanups and add some more debugging.
See #576408 .
2009-03-24 12:19:30 +01:00
Wim Taymans
7cf4e3eb15
playbin2: rescan audio sinks for volume/mute
...
Rescan the audio sinks for the mute and volume properties.
fixes #576180 .
2009-03-24 10:42:04 +01:00
Wim Taymans
14be3f41e2
playbin2: fix reuse of the video chains
...
When reusing playbin with visualisations, reset the async property on the video
sink because some sinks might dynamically recreate their sinks.
Fixes #576188
2009-03-23 19:40:18 +01:00
Wim Taymans
7628319688
playbin2: allow dynamic swtiching of subtitles
...
When we have the textpad configured, enable and disable the subtitles by setting
the silent flag on the overlay element instead of trying to remove elements.
See #576187
2009-03-23 17:38:46 +01:00
Wim Taymans
d8003bea06
playbin2: fix dynamic switching of visualisations
...
Fix the switching of visualisations by requesting and releasing the tee request
pads on demand.
See #576187 .
2009-03-23 16:06:43 +01:00
Stefan Kost
3d20bad4ba
docs: add examples for tcp elements, also use correct section name. Fixes #564139
...
Updated the examples in the README to actually work. Add them to api docs. Tests
the api-docs and fix the section names to make the docs actualy show up.
The example for "tcpserversrc" needs review (might be an element bug).
2009-03-23 17:03:38 +02:00
Stefan Kost
46c18b2aa3
indent: fix damange that gst-indent did some time ago
2009-03-23 17:03:37 +02:00
Wim Taymans
7cc84f9205
playbin2: fix linking order
...
Link after doing the state change and unlink before shutting down. Makes the
window for causing races in toggling the visualisations smaller.
See #576187 .
2009-03-23 15:27:27 +01:00
Wim Taymans
779d6f886d
uridecodebin: reset counter
...
reset the number of pending dynamic operations back to 0 when we reuse
uridecodebin.
Fixes #576190
2009-03-23 12:28:18 +01:00
Wim Taymans
554b3aafe4
decodebin2: a pad starts out being not drained.
...
Mark a new pad as not drained until we get EOS on it.
2009-03-20 15:47:47 +01:00
LRN
23e603f054
win32: fix seeking in large files
...
Fix Seeking in large files by using the 64-bit seek functions.
Fixes #576019
2009-03-20 14:17:19 +01:00
Wim Taymans
600a810236
decodebin2: recover from failing to add a pad
...
When we cannot add a pad to the decodebin2 for some reason, print a warning but
continue adding the remaining pads.
2009-03-19 20:31:01 +01:00
Wim Taymans
20468a22c9
decodebin2: more cleanups and docs.
...
Add some more comments and use g_list_prepend().
2009-03-19 19:35:15 +01:00
Wim Taymans
17e7948325
decodebin2: refactoring and race fixes
...
Refactor some code so that we can take the right locks and in the right order.
Fixes quite a bit of races already.
2009-03-19 19:19:38 +01:00
Wim Taymans
2f39597919
playbin2: remove the group cond + cleanups
...
Remove the group GCond that we used for waiting for groups to finish because we
use pad blocking on the selectors and counters instead for waiting for the
groups to complete.
remove the obsolete about_to_finish variable set while emiting the
about-to-finish signal and fix some old comments.
We don't need to take the playbin lock when querying the uridecodebin.
2009-03-19 19:03:25 +01:00
Wim Taymans
563db0fdca
decodebin2: add extra dynamic ref for demuxers
...
When we make a group connected to a demuxer, keep an extra dynamic refcount for
the group which is only decremented when no_more_pads or a multiqueue overrun is
detected. This way we avoid a race between exposing the group while more dynamic
refs are added from new pads.
Fixes #575588 .
2009-03-17 19:09:02 +01:00
Wim Taymans
da6a544bdf
playbin2: sync state of the sink correctly
...
Sync the state of the newly added chains to the state of the parent sink element
to avoid lost async-start messages. Fixes cdda:// async-done message storm.
2009-03-17 15:39:23 +01:00