Wim Taymans
89f02fb269
decodebin2: use new getcaps function to avoid copies
...
Use the gst_pad_get_caps_refed() to avoid some caps copy functions.
2009-11-04 18:31:09 +01:00
Wim Taymans
eb92aa282f
uridecodebin: use faster element_link_pads
...
Use the faster gst_element_link_pads because we know for sure the sinkpad name
and we don't need to have the function search for a suitable pad anymore.
2009-11-04 17:50:11 +01:00
Wim Taymans
d8942e2850
baseaudiosink: make drift tolerance configurable
...
Add drift-tolerance property (defaulting to 20ms) to handle resync after clock
drift or timestamp drift instead of relying on the latency-time value for clock
drift and 500ms for timestamp drift.
Remove warning about discont timestamp and simply resync. The warning is in some
cases not correct and is triggered more frequently now that we lower the
tolerance value.
2009-11-04 16:16:31 +01:00
Sebastian Dröge
0672457604
playbin2: Return NOT_LINKED for unselected text pads from a demuxer
...
We want to return NOT_LINKED for unselected pads but only for pads
from the normal uridecodebin. This makes sure that subtitle streams
are not raced past audio/video from decodebin2's multiqueue.
For pads from suburidecodebin OK should always be returned, otherwise
it will most likely stop with an error.
2009-11-04 10:53:27 +01:00
Stefan Kost
f71ed36694
inputselector: also add inline to the proto to fix the build
...
Merged from gst-plugins-bad, e1e9be6dbe
.
2009-11-04 08:20:59 +01:00
Sebastian Dröge
dd55311f3b
uridecodebin: Initialize caps property with the default raw caps
2009-11-03 13:03:26 +01:00
Sebastian Dröge
0285d77d96
decodebin2: Use static caps for the default raw caps and put them into a separate header
...
This way we can use the same default raw caps everywhere.
2009-11-03 13:03:23 +01:00
Sebastian Dröge
60aa09d28c
textoverlay: First draw outline text and then the real text
...
Improves the output a bit because no parts of the outline are
overwritten again.
2009-11-03 08:26:37 +01:00
Josep Torra Valles
e9d1819fe3
playbin: Make sure to keep a reference on the volume element
...
Fixes null pointer dereferences under certain circumstances.
Fixes bug #595401 .
2009-11-02 07:30:54 +01:00
Edward Hervey
f9772089d0
po: queue2 has moved to core
2009-10-31 09:47:54 +01:00
Sebastian Dröge
e72c3029c0
playsink: Reset {mute,volume}-changed flags after setting the volume
...
These flags are there to make sure that the volume is set, if there
is no volume element yet.
2009-10-30 09:24:30 +01:00
Sebastian Dröge
598c937634
playsink: If notify::{volume,mute} is triggered by the volume element, update our internal state
2009-10-30 09:24:03 +01:00
Sebastian Dröge
d85dadc122
playsink: Proxy notify::volume and notify::mute from the volume/mute elements (or sinks)
...
Fixes bug #600027 .
2009-10-29 14:30:31 +01:00
Sebastian Dröge
de1db5ccbd
playbin2: Proxy notify::volume and notify::mute from the playsink to playbin2
2009-10-29 14:19:09 +01:00
Sebastian Dröge
4fbfbef84b
queue2: Remove inspect file
2009-10-29 11:37:04 +01:00
Sebastian Dröge
75d36a0b1e
queue2: Remove from gst-plugins-base
...
This is now in coreplugins.
2009-10-29 11:29:46 +01:00
Stefan Kost
b39e74ad00
docs: include more indexes
2009-10-28 11:30:58 +02:00
Stefan Kost
f528170633
docs: turn entities into xi:includes
...
This is faster to process and easier to maintain. Its also less 80s.
2009-10-28 11:30:58 +02:00
Stefan Kost
f3db4e01b5
rtp: dump packets which we reject
2009-10-28 11:30:58 +02:00
Tim-Philipp Müller
7a2427e8fb
.gitignore: ignore basetime unit test binary
2009-10-28 01:01:35 +00:00
Tim-Philipp Müller
6f4c1ac583
Remove GST_DEBUG_FUNCPTR where they're pointless
...
There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
2009-10-28 00:59:35 +00:00
Wim Taymans
7065c7a02d
queue2: add custom acceptcaps function
2009-10-27 15:23:00 +01:00
Wim Taymans
0b00e25b54
decodebin2: implement low/high watermark property
2009-10-27 15:22:22 +01:00
Wim Taymans
5cdbabbaac
seek: add checkbox to enable buffering
2009-10-27 15:15:50 +01:00
Wim Taymans
7ab778199e
uridecodebin: don't use 2 buffering elements
...
Only use the multiqueue buffering when we don't have a stream (and thus are
using queue2 to do the buffering already).
2009-10-24 16:10:00 -04:00
Wim Taymans
660fc111d1
playbin2: add flag to enable decodebin buffering
...
Add a flag that enables buffering in decodebin.
2009-10-24 16:10:00 -04:00
Wim Taymans
f998858192
decodebin2: buffering is implemented now
2009-10-24 16:09:59 -04:00
Wim Taymans
26290f44d6
uridecodebin: buffering is implemented now
2009-10-24 16:09:59 -04:00
Wim Taymans
3d2b3dd268
decodebin2: configure use-buffering on multiqueue
2009-10-24 16:09:59 -04:00
Wim Taymans
d5add83976
uridecodebin: use 0 for max buffer size
2009-10-24 16:09:59 -04:00
Wim Taymans
1fa7f049f1
uridecodebin: set some reasonable defaults
2009-10-24 16:09:59 -04:00
Wim Taymans
3883fac8d8
uridecodebin: set buffering properties on decodebin2
...
Propagate the buffering properties on decodebin2 but only if we are not already
doing download buffering.
2009-10-24 16:09:59 -04:00
Wim Taymans
adba87539f
uridecodebin: add use-buffering property
...
Add a use-buffering property that will perform buffering on the parsed or
demuxed media.
2009-10-24 16:07:36 -04:00
Wim Taymans
baecd335b2
decodebin2: refactor queue size configuration.
...
Refactor the queue size configuration into a new method.
Use the same queue values for buffering as for preroll.
2009-10-24 16:07:36 -04:00
Wim Taymans
cffe4d7bd3
decodebin2: move error path down
2009-10-24 16:07:36 -04:00
Wim Taymans
1c982d0dbe
decodebin2: implement max queue size properties
2009-10-24 16:07:36 -04:00
Wim Taymans
3fffb0e2dd
decodebin2: add properties for buffering
...
Add properties that can be used to configure the multiqueue buffers and
buffering methods
2009-10-24 16:07:36 -04:00
Edward Hervey
05667813ad
examples: fix linking order.
...
the uninstalled wrapper would create a LD_LIBRARY_PATH with system-wide
path before the local ones... resulting in the example applications picking
up the system-wide libraries and not the (potentially modified) uninstalled
libraries
2009-10-24 13:21:05 +02:00
Sebastian Dröge
4de2ab48ea
playbin2: Don't destroy the suburidecodebin on errors
...
It can still be reused
2009-10-24 13:08:07 +02:00
Sebastian Dröge
497d0a4793
playbin2: If setting the state of the suburidecodebin fails just warn, don't error out
2009-10-24 13:07:45 +02:00
Sebastian Dröge
cd5475aa6f
playbin2: Don't set uridecodebin states to NULL before reusing them
...
This makes sure that the internal decodebin2 and everything else can
be reused without reinstantiation.
2009-10-24 12:54:11 +02:00
Edward Hervey
80b37c614a
uridecodebin: Store unused decodebin2 instances for further usage.
...
This allows faster re-use of uridecodebin.
https://bugzilla.gnome.org/show_bug.cgi?id=599471
2009-10-24 11:48:33 +02:00
David Schleef
61d08884d3
theora: Convert theoraparse to libtheora 1.0 API
2009-10-23 17:49:48 -07:00
Olivier Crête
e27c24b200
rtpaudiopayload: Only sent exact multiple of the frame size
...
Also align the maximum size with the frame size, not only the minimum
2009-10-23 13:56:05 +03:00
Thiago Santos
e55bf9bdd8
audiorate: move debug calculation into debug macro
...
Remove in_duration and move its calculation to
GST_LOG_OBJECT macro. This way it will only be calculated
if we have debug enabled.
2009-10-22 09:14:30 -03:00
Thiago Santos
d95b607e23
audiorate: Removing unused variable
...
The in_stop variable was never read. Removing it.
2009-10-22 09:14:30 -03:00
Thiago Santos
44d6ebc48f
audiorate: be more accurate on offset math
...
Replace gst_util_uint64_scale_int for its rounding version
to improve accuracy and avoid inserting samples where
they aren't needed.
Fixes #499181
2009-10-22 09:14:29 -03:00
Sebastian Dröge
eb9acba08f
textoverlay: Optimize a bit more
...
...and add a FIXME for bug #598695 and explain
what we should do once Pango supports user fonts.
2009-10-22 10:17:31 +02:00
Iago Toral
f63643bd54
subparse: Add support for DKS subtitle format
...
Fixes bug #598936 .
2009-10-22 10:02:11 +02:00
Sebastian Dröge
21ad7547a0
textoverlay: Do shading as first operation
2009-10-22 09:31:34 +02:00