Commit graph

6 commits

Author SHA1 Message Date
Sebastian Dröge
07e3936abf basevideocodec: Protect access to the list of pending frames with the object lock
This is required if ::finish_frame() and all buffer output happens
on a different thread than the sinkpad streaming thread.
2011-07-12 08:36:00 +02:00
Sebastian Dröge
9695e504ff basevideo: Use GSlice for allocating GstVideoFrame and don't duplicate code in the decoder base class 2011-07-09 11:32:06 +02:00
Sebastian Dröge
f79460ff52 basevideo: Add destroy notify for the coder_hook to prevent memory leaks
Fixes bug #654293.
2011-07-09 11:06:06 +02:00
Sebastian Dröge
8f66cb9e1a basevideodecoder: Don't reorder serialized src events
And allow to drop EOS by the subclass if ::finish returns
DROPPED.

Fixes bug #653544.
2011-07-09 11:06:01 +02:00
Sebastian Dröge
aaeff26189 basevideo: Add the caps to the GstVideoState and clean up caps/codec_data properly 2011-07-06 08:42:15 +02:00
Sebastian Dröge
93a675b570 basevideo: Add video encoder/decoder base classes from gst-plugins-bad 2011-07-06 08:42:15 +02:00