Mark Nauwelaerts
a1825bd5e2
basevideodecoder: improve glitch resilience
...
Provide a replacement for GST_ELEMENT_ERROR to avoid aborting at the first
atom out of place, while on the other hand not failing indefinitely.
2011-05-16 20:32:24 +02:00
Mark Nauwelaerts
1588ed321c
basevideodecoder: reverse playback support
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
1d99e8eafa
basevideodecoder: use basevideocodec discont field
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
1b151caf11
basevideodecoder: really and only set src pad caps whenever requested
...
... since subclass is expected to be wise enough to know when to do so.
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
550237347b
basevideodecoder: add some sanity enforcing
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
f72658435b
basevideodecoder: add documentation
...
... and remove some more stray unused code and methods.
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
a085acb586
basevideodecoder: streamline discont, flush and reset handling
...
... which is not to say there is no room for further tweaking ...
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
cfc65b14b1
basevideodecoder: remove (almost) unused fields
...
... and also some more unused code.
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
f591361d2f
basevideodecoder: invoke subclass start method at state change and use set_format
...
While this changes API slightly (e.g. actually uses set_format now), which is OK
for unstable API, it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* otherwise no subclass method at state change (global activation time)
Moreover, subclassese are either unaffected or trivially adjusted accordingly.
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
04a34b4ab7
basevideodecoder: fixup tweak
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
39fb2fa74a
basevideodecoder: add and tweak debug statements
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
fc705cf8fd
basevideodecoder: arrange for limited legacy seeking support
...
In particular, tweak src query and event handling to provide for
byte <-> time conversion.
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
3bd16a48b4
basevideo: cater for format conversion
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
4311909a53
basevideodecoder: fix copy-and-paste variable misnomer
2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
7862d9ed35
basevideodecoder: subsume skip_frame into finish_frame
2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
0230143cb8
basevideodecoder: remove unused code
2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
8defa8cb49
basevideodecoder: code cleanup and debug style fixes
2011-05-16 20:32:21 +02:00
David Schleef
aa02a4074f
basevideo: Check if caps are set directly
...
Fixes #647854 .
2011-04-24 19:40:08 -07:00
Tim-Philipp Müller
fb67a0d126
basevideo: fix unused-but-set-variable warnings with gcc 4.6
2011-04-14 16:49:18 +01:00
David Schleef
293b0f7757
basevideo: Fix negotiation errors
2011-04-01 13:54:02 -07:00
David Schleef
83d6a5099b
basevideo: Add function to allocate src buffer
2011-04-01 13:54:02 -07:00
Sebastian Dröge
44da64d86b
basevideodecoder: Initialize some variables to make gcc 4.6 happy
2011-01-27 17:29:12 +01:00
David Schleef
fe50055715
basevideo: Move common fields/functions to basecodec
2010-10-15 16:30:57 -07:00
Sebastian Dröge
5816dbce6f
basevideodecoder: Don't use GST_FLOW_IS_SUCCESS()
2010-09-21 12:26:34 +02:00
David Schleef
9a62433722
basevideo: Remove check for old -base
2010-09-20 12:34:46 -07:00
David Schleef
62a9383527
basevideodecoder: add capture pattern handling
...
Move typical scan_for_sync() usage into base class, which just
calls gst_adapter_masked_scan_uint32().
2010-09-18 19:27:07 -07:00
David Schleef
dbbf1182dc
basevideodecoder: Don't blow away field information
...
Also, set field flags correctly.
2010-09-18 19:27:07 -07:00
David Schleef
7cd2e0dd3e
basevideo: Move deadline to frame structure
2010-09-18 19:27:07 -07:00
Sebastian Dröge
29943c87f8
basevideodecoder: Reset the segment on FLUSH_STOP and when going back to READY
2010-07-27 18:24:20 +02:00
Sebastian Dröge
ccbb765743
basevideodecoder: Fix memory leak
...
The timestamps are only used if the output adapter is used, not
if complete frames are provided by the decoder and finish_frame() is
called and even in the case where the output adapter is used they
might not be used and are leaked.
2010-07-10 15:50:50 +02:00
Philip Jägenstedt
7a181a9ed3
basevideodecoder: remove spurious warning
2010-06-10 10:58:54 -07:00
David Schleef
c295354da5
basevideo: use debug category for each class
2010-06-02 19:28:16 -07:00
David Schleef
13848cc93b
basevideodecoder: create new segments if missing
2010-06-02 19:28:16 -07:00
David Schleef
99a88edcc1
basevideo: Add a warning
...
Merging previous commit into current codebase.
2010-06-02 19:28:16 -07:00
David Schleef
9564562fe8
basevideo: make printf formats portable
2010-06-02 12:16:56 -07:00
David Schleef
14c8bf96ad
basevideodecoder: (in vp8) Mark discont buffers
2010-06-02 11:26:41 -07:00
David Schleef
bdb5926cda
basevideo: Move base video from vp8 to gst-libs
2010-06-02 00:01:10 -07:00
Josep Torra
2f603bc241
basevideo: fix warnings in macosx snow leopard
2009-10-11 11:14:16 +02:00
Alessandro Decina
e665fb8702
Add GstBaseVideoDecoder::set_sink_caps vfunc.
2009-10-02 14:28:50 +02:00
Alessandro Decina
7dc185655f
Call GstBaseVideoDecoder::start/stop during pad [de]activation.
2009-10-02 14:28:15 +02:00
David Schleef
62b692d549
basevideo: debug at new segment events
2009-09-17 17:03:41 -07:00
David Schleef
440fceec73
basevideo: Add a warning
2009-09-17 17:03:40 -07:00
David Schleef
cf2b2b017f
basevideo: move from -base
...
Also move schroedinger plugin. This creates a new library,
gstbasevideo-0.10, which will probably be merged back into
gstvideo-0.10 when this is moved back to -base.
2009-07-01 10:56:24 -07:00