platform/upstream/gstreamer.git
12 years agobasevideoencoder: Fix handling of force-keyunit events
Sebastian Dröge [Thu, 8 Dec 2011 09:18:36 +0000 (10:18 +0100)]
basevideoencoder: Fix handling of force-keyunit events

12 years agoomxaudioenc: Don't forward EOS events immediately but let all other events be handled...
Sebastian Dröge [Tue, 6 Dec 2011 12:28:41 +0000 (13:28 +0100)]
omxaudioenc: Don't forward EOS events immediately but let all other events be handled by the base class

Previously this logic was inversed, which did not make any sense at all.

12 years agoomxaudioenc: Use correct timestamp, duration and filled length for the EOS buffers
Sebastian Dröge [Tue, 6 Dec 2011 11:47:25 +0000 (12:47 +0100)]
omxaudioenc: Use correct timestamp, duration and filled length for the EOS buffers

12 years agoomxvideodec: Use correct timestamp, duration and filled length for the EOS buffers
Sebastian Dröge [Tue, 6 Dec 2011 11:47:12 +0000 (12:47 +0100)]
omxvideodec: Use correct timestamp, duration and filled length for the EOS buffers

12 years agoomxvideoenc: Use correct timestamp, duration and filled length for the EOS buffers
Sebastian Dröge [Tue, 6 Dec 2011 11:46:51 +0000 (12:46 +0100)]
omxvideoenc: Use correct timestamp, duration and filled length for the EOS buffers

12 years agoomx: Improve debugging of buffer handling
Sebastian Dröge [Mon, 5 Dec 2011 12:18:09 +0000 (13:18 +0100)]
omx: Improve debugging of buffer handling

12 years agoomxvideoenc: Drop EOS events in ::finish()
Sebastian Dröge [Mon, 5 Dec 2011 07:12:48 +0000 (08:12 +0100)]
omxvideoenc: Drop EOS events in ::finish()

The event will be forwarded downstream from the srcpad
loop function after the last buffer was generated by the
component. Forwarding it after ::finish() will use the
sinkpad streaming thread and does not guarantee that
the encoder is completely drained.

12 years agoomxvideodec: Properly drop frames due to QoS
Sebastian Dröge [Thu, 1 Dec 2011 15:20:36 +0000 (16:20 +0100)]
omxvideodec: Properly drop frames due to QoS

Instead of finishing them they should be passed to drop(), which
will then send QoS messages.

12 years agoomxh264enc: Add support for resending headers after a forced-keyframe
Jonas Larsson [Tue, 29 Nov 2011 11:21:32 +0000 (12:21 +0100)]
omxh264enc: Add support for resending headers after a forced-keyframe

12 years agobasevideoencoder: Pass the all-headers field of the force-key-unit event to the subclass
Sebastian Dröge [Tue, 29 Nov 2011 11:12:33 +0000 (12:12 +0100)]
basevideoencoder: Pass the all-headers field of the force-key-unit event to the subclass

12 years agobasevideoencoder: Implement full support for the new force-key-unit event
Sebastian Dröge [Tue, 29 Nov 2011 11:12:04 +0000 (12:12 +0100)]
basevideoencoder: Implement full support for the new force-key-unit event

Including support for the running-time and count fields.

12 years agobasevideoencoder: Use new force-keyunit event API from gst-plugins-base
Sebastian Dröge [Tue, 29 Nov 2011 08:31:11 +0000 (09:31 +0100)]
basevideoencoder: Use new force-keyunit event API from gst-plugins-base

12 years agobasevideoencoder: Adjusting padding is not required for -bad libraries
Sebastian Dröge [Tue, 29 Nov 2011 08:18:19 +0000 (09:18 +0100)]
basevideoencoder: Adjusting padding is not required for -bad libraries

12 years agobasevideoencoder: Move some fields to the private part of the instance struct
Sebastian Dröge [Mon, 28 Nov 2011 18:48:01 +0000 (19:48 +0100)]
basevideoencoder: Move some fields to the private part of the instance struct

12 years agobasevideoencoder: Make headers metadata writable before pushing downstream
Sebastian Dröge [Mon, 28 Nov 2011 18:36:56 +0000 (19:36 +0100)]
basevideoencoder: Make headers metadata writable before pushing downstream

The timestamp, duration, etc of the headers has to be changed.

12 years agobasevideoencoder: Push the downstream force-keyframe event after the next keyframe
Sebastian Dröge [Mon, 28 Nov 2011 18:35:40 +0000 (19:35 +0100)]
basevideoencoder: Push the downstream force-keyframe event after the next keyframe

Even if the corresponding GstVideoFrame doesn't have the is_sync_point
flag set.

12 years agobasevideoencoder: Don't push an upstream force-keyunit event downstream
Sebastian Dröge [Mon, 28 Nov 2011 18:29:13 +0000 (19:29 +0100)]
basevideoencoder: Don't push an upstream force-keyunit event downstream

12 years agobasevideoencoder: Add initial support for the all-headers field of the force-keyframe...
Jonas Larsson [Fri, 25 Nov 2011 10:48:08 +0000 (11:48 +0100)]
basevideoencoder: Add initial support for the all-headers field of the force-keyframe event

See bug #607742.

12 years agobasevideodecoder: some more debug logging
Tim-Philipp Müller [Fri, 25 Nov 2011 11:37:39 +0000 (11:37 +0000)]
basevideodecoder: some more debug logging

12 years agobasevideodecoder: add API to drop a frame and post a QoS message on the bus
Tim-Philipp Müller [Wed, 23 Nov 2011 20:03:32 +0000 (20:03 +0000)]
basevideodecoder: add API to drop a frame and post a QoS message on the bus

https://bugzilla.gnome.org/show_bug.cgi?id=640017

API: gst_base_video_decoder_drop_frame()

12 years agodocs: fix comment in gst_base_video_decoder_get_max_decode_time() docs
Tim-Philipp Müller [Tue, 22 Nov 2011 23:04:49 +0000 (23:04 +0000)]
docs: fix comment in gst_base_video_decoder_get_max_decode_time() docs

12 years agobasevideodecoder: fix weird event list handling
Tim-Philipp Müller [Tue, 22 Nov 2011 19:57:07 +0000 (19:57 +0000)]
basevideodecoder: fix weird event list handling

Get rid of weird code that copies a list manually, taking
ownership of the elements and then frees the old list. Instead,
just take over the old list entirely. (If the intent was to
reverse the list, one could use g_list_reverse() instead).

Then, push events in the list out from last to first (since they
were prepended as they came in) instead of just pushing out the
last in the list and leaking the others.

12 years agoomxaudioenc: Use audio base classes from gst-plugins-base instead of having our own...
Sebastian Dröge [Fri, 25 Nov 2011 10:31:58 +0000 (11:31 +0100)]
omxaudioenc: Use audio base classes from gst-plugins-base instead of having our own copies

12 years agoomxaudioenc: First set ports to flushing before waiting for the srcpad streaming...
Sebastian Dröge [Fri, 18 Nov 2011 18:00:31 +0000 (10:00 -0800)]
omxaudioenc: First set ports to flushing before waiting for the srcpad streaming thread to finish

12 years agoomxvideoenc: First set ports to flushing before waiting for the srcpad streaming...
Sebastian Dröge [Fri, 18 Nov 2011 17:59:43 +0000 (09:59 -0800)]
omxvideoenc: First set ports to flushing before waiting for the srcpad streaming thread to finish

12 years agoomxvideodec: First set ports to flushing before waiting for the srcpad streaming...
Sebastian Dröge [Fri, 18 Nov 2011 17:58:58 +0000 (09:58 -0800)]
omxvideodec: First set ports to flushing before waiting for the srcpad streaming thread to finish

12 years agoomx: Only disabling of a port is like flushing, enabling is like unflushing
Sebastian Dröge [Thu, 17 Nov 2011 22:38:54 +0000 (14:38 -0800)]
omx: Only disabling of a port is like flushing, enabling is like unflushing

12 years agoomx: Enabling/disabling a port is also like flushing
Sebastian Dröge [Thu, 17 Nov 2011 21:33:35 +0000 (13:33 -0800)]
omx: Enabling/disabling a port is also like flushing

The component returns all buffers to us and shouldn't get any
new buffers passed anymore.

12 years agoomxaudioenc: Signal the drain GCond even if downstream returned an error
Sebastian Dröge [Thu, 17 Nov 2011 19:26:33 +0000 (11:26 -0800)]
omxaudioenc: Signal the drain GCond even if downstream returned an error

12 years agoomxvideoenc: Signal the drain GCond even if downstream returned an error
Sebastian Dröge [Thu, 17 Nov 2011 19:26:20 +0000 (11:26 -0800)]
omxvideoenc: Signal the drain GCond even if downstream returned an error

12 years agoomxvideodec: Signal the drain GCond even if downstream returned an error
Sebastian Dröge [Thu, 17 Nov 2011 19:25:52 +0000 (11:25 -0800)]
omxvideodec: Signal the drain GCond even if downstream returned an error

12 years agobasevideoencoder: Only call ::reset once in READY->PAUSED
Sebastian Dröge [Thu, 17 Nov 2011 18:34:19 +0000 (10:34 -0800)]
basevideoencoder: Only call ::reset once in READY->PAUSED

12 years agoomxaudioenc: Shutdown component in PAUSED->READY and deallocate buffers
Sebastian Dröge [Thu, 17 Nov 2011 18:19:35 +0000 (10:19 -0800)]
omxaudioenc: Shutdown component in PAUSED->READY and deallocate buffers

12 years agoomxvideoenc: Shutdown component in PAUSED->READY and deallocate buffers
Sebastian Dröge [Thu, 17 Nov 2011 18:19:30 +0000 (10:19 -0800)]
omxvideoenc: Shutdown component in PAUSED->READY and deallocate buffers

12 years agoomxvideodec: Shutdown component in PAUSED->READY and deallocate buffers
Sebastian Dröge [Thu, 17 Nov 2011 18:19:10 +0000 (10:19 -0800)]
omxvideodec: Shutdown component in PAUSED->READY and deallocate buffers

12 years agoomxvideoenc: Set force_keyframe to FALSE after handling it
Sebastian Dröge [Wed, 16 Nov 2011 20:02:08 +0000 (12:02 -0800)]
omxvideoenc: Set force_keyframe to FALSE after handling it

There's no reason why the base class should forward the event
further downstream if we already handled it and will insert a
keyframe.

12 years agoomxvideodec: Always push buffers downstream, even if we didn't find a corresponding...
Sebastian Dröge [Wed, 16 Nov 2011 19:21:25 +0000 (11:21 -0800)]
omxvideodec: Always push buffers downstream, even if we didn't find a corresponding GstVideoFrame

12 years agoomx: Fix debug level for flushing in wrong state from ERROR to DEBUG
Sebastian Dröge [Tue, 15 Nov 2011 17:47:55 +0000 (09:47 -0800)]
omx: Fix debug level for flushing in wrong state from ERROR to DEBUG

It's not really an error and doesn't matter at all if flush is called
when the component is not running.

12 years agoomxh264enc: Detect bytestream stream format and don't put SPS/PPS into the caps for...
Sebastian Dröge [Tue, 15 Nov 2011 16:40:07 +0000 (08:40 -0800)]
omxh264enc: Detect bytestream stream format and don't put SPS/PPS into the caps for this format

12 years agoomxvideoenc: Add vfunc for handling the output frames
Sebastian Dröge [Tue, 15 Nov 2011 16:28:32 +0000 (08:28 -0800)]
omxvideoenc: Add vfunc for handling the output frames

This can be used by subclasses to override the buffer flags
or to handle some frames differently than the default behaviour.

12 years agoomxvideodec: Don't release buffers twice if dropping because of QoS
Sebastian Dröge [Mon, 14 Nov 2011 20:50:26 +0000 (12:50 -0800)]
omxvideodec: Don't release buffers twice if dropping because of QoS

12 years agoomx: Add XXX to the nOffset reset hack comment for QCOM
Sebastian Dröge [Mon, 14 Nov 2011 17:13:06 +0000 (09:13 -0800)]
omx: Add XXX to the nOffset reset hack comment for QCOM

12 years agoomxaudioenc: Make srcpad caps setting threadsafe
Sebastian Dröge [Thu, 10 Nov 2011 14:18:08 +0000 (15:18 +0100)]
omxaudioenc: Make srcpad caps setting threadsafe

12 years agoomxvideoenc: Make srcpad caps setting threadsafe
Sebastian Dröge [Thu, 10 Nov 2011 14:17:56 +0000 (15:17 +0100)]
omxvideoenc: Make srcpad caps setting threadsafe

12 years agoomxvideodec: Make srcpad caps setting threadsafe
Sebastian Dröge [Thu, 10 Nov 2011 14:17:41 +0000 (15:17 +0100)]
omxvideodec: Make srcpad caps setting threadsafe

12 years agoomxaudioenc: Make the srcpad task and the sinkpad streaming thread handling threadsafe
Sebastian Dröge [Thu, 10 Nov 2011 14:10:14 +0000 (15:10 +0100)]
omxaudioenc: Make the srcpad task and the sinkpad streaming thread handling threadsafe

12 years agoomxaudioenc: Always flush the ports and make sure no processing is happening in ...
Sebastian Dröge [Thu, 10 Nov 2011 14:03:05 +0000 (15:03 +0100)]
omxaudioenc: Always flush the ports and make sure no processing is happening in ::flush

This fixes a race condition that happened when seeking
very often in a short period of time.

12 years agoomxvideoenc: Always flush the ports and make sure no processing is happening in ...
Sebastian Dröge [Thu, 10 Nov 2011 14:02:22 +0000 (15:02 +0100)]
omxvideoenc: Always flush the ports and make sure no processing is happening in ::reset

This fixes a race condition that happened when seeking
very often in a short period of time.

12 years agoomxvideoenc: Fix minor race condition when draining after upstream signalled EOS
Sebastian Dröge [Thu, 10 Nov 2011 14:01:36 +0000 (15:01 +0100)]
omxvideoenc: Fix minor race condition when draining after upstream signalled EOS

12 years agoomxaudioenc: Improve EOS handling
Sebastian Dröge [Thu, 10 Nov 2011 13:56:19 +0000 (14:56 +0100)]
omxaudioenc: Improve EOS handling

If downstream return UNEXPECTED we should still signal the
drain cond because nothing will trigger this again later.

12 years agoomxvideoenc: Improve EOS handling
Sebastian Dröge [Thu, 10 Nov 2011 13:56:11 +0000 (14:56 +0100)]
omxvideoenc: Improve EOS handling

If downstream return UNEXPECTED we should still signal the
drain cond because nothing will trigger this again later.

12 years agoomxaudioenc: Improve debugging of EOS and draining
Sebastian Dröge [Thu, 10 Nov 2011 13:54:33 +0000 (14:54 +0100)]
omxaudioenc: Improve debugging of EOS and draining

12 years agoomxvideoenc: Improve debugging of EOS and draining
Sebastian Dröge [Thu, 10 Nov 2011 13:54:17 +0000 (14:54 +0100)]
omxvideoenc: Improve debugging of EOS and draining

12 years agoomxvideodec: Log if acquiring buffer for EOS failed
Sebastian Dröge [Thu, 10 Nov 2011 13:51:06 +0000 (14:51 +0100)]
omxvideodec: Log if acquiring buffer for EOS failed

12 years agoomxvideodec: The component is not started in READY
Sebastian Dröge [Thu, 10 Nov 2011 13:42:13 +0000 (14:42 +0100)]
omxvideodec: The component is not started in READY

12 years agoomxaudioenc: No need to signal the drain cond when going from READY to PAUSED
Sebastian Dröge [Thu, 10 Nov 2011 13:39:40 +0000 (14:39 +0100)]
omxaudioenc: No need to signal the drain cond when going from READY to PAUSED

Also the component is not started in READY

12 years agoomxvideoenc: No need to signal the drain cond when going from READY to PAUSED
Sebastian Dröge [Thu, 10 Nov 2011 13:40:56 +0000 (14:40 +0100)]
omxvideoenc: No need to signal the drain cond when going from READY to PAUSED

Also the component is not started in READY.

12 years agoomxvideodec: Always flush the ports and make sure no processing is happening in ...
Sebastian Dröge [Wed, 9 Nov 2011 14:46:02 +0000 (15:46 +0100)]
omxvideodec: Always flush the ports and make sure no processing is happening in ::reset

This fixes a race condition that happened when seeking
very often in a short period of time.

12 years agoomxvideodec: Fix minor race condition when draining after upstream signalled EOS
Sebastian Dröge [Wed, 9 Nov 2011 14:45:20 +0000 (15:45 +0100)]
omxvideodec: Fix minor race condition when draining after upstream signalled EOS

12 years agoomxvideodec: Improve EOS handling
Sebastian Dröge [Wed, 9 Nov 2011 14:44:11 +0000 (15:44 +0100)]
omxvideodec: Improve EOS handling

If downstream return UNEXPECTED we should still signal the
drain cond because nothing will trigger this again later.

12 years agoomxvideodec: Improve debugging of EOS and draining
Sebastian Dröge [Wed, 9 Nov 2011 14:43:32 +0000 (15:43 +0100)]
omxvideodec: Improve debugging of EOS and draining

12 years agoomxvideodec: The component is not started already when going from READY to PAUSED
Sebastian Dröge [Wed, 9 Nov 2011 14:42:46 +0000 (15:42 +0100)]
omxvideodec: The component is not started already when going from READY to PAUSED

12 years agoomxvideodec: No need to signal the drain cond when going from READY to PAUSED
Sebastian Dröge [Wed, 9 Nov 2011 14:42:13 +0000 (15:42 +0100)]
omxvideodec: No need to signal the drain cond when going from READY to PAUSED

12 years agoomx: Always reset buffer flags for output ports, even in flushing/error state
Sebastian Dröge [Wed, 9 Nov 2011 14:41:02 +0000 (15:41 +0100)]
omx: Always reset buffer flags for output ports, even in flushing/error state

12 years agoomxvideodec: Improve debugging in case of QoS-related frame drops
Sebastian Dröge [Wed, 9 Nov 2011 08:00:57 +0000 (09:00 +0100)]
omxvideodec: Improve debugging in case of QoS-related frame drops

12 years agoomxvideoenc: Release the video codec stream lock before acquiring an input buffer
Sebastian Dröge [Tue, 8 Nov 2011 11:46:31 +0000 (12:46 +0100)]
omxvideoenc: Release the video codec stream lock before acquiring an input buffer

Otherwise the srcpad task might block on this lock and
no buffers ever become available again.

12 years agoomxaudioenc: Release the audio encoder stream lock before acquiring an input buffer
Sebastian Dröge [Tue, 8 Nov 2011 11:45:16 +0000 (12:45 +0100)]
omxaudioenc: Release the audio encoder stream lock before acquiring an input buffer

Otherwise the srcpad task might block on this lock and
no buffers ever become available again.

12 years agoomxvideodec: Release the video codec stream lock before acquiring an input buffer
Sebastian Dröge [Tue, 8 Nov 2011 11:42:58 +0000 (12:42 +0100)]
omxvideodec: Release the video codec stream lock before acquiring an input buffer

Otherwise the srcpad task might block on this lock and
no buffers ever become available again.

12 years agoomxaudioenc: Don't try to drain the component after EOS
Sebastian Dröge [Tue, 8 Nov 2011 10:07:01 +0000 (11:07 +0100)]
omxaudioenc: Don't try to drain the component after EOS

And don't send EOS twice in any case. This most likely
will cause the component to not output it again and
is not necessary anyway.

12 years agoomxvideoenc: Don't try to drain the component after EOS
Sebastian Dröge [Tue, 8 Nov 2011 10:03:29 +0000 (11:03 +0100)]
omxvideoenc: Don't try to drain the component after EOS

And don't send EOS twice in any case. This most likely
will cause the component to not output it again and
is not necessary anyway.

12 years agoomxvideodec: Don't try to drain the component after EOS
Sebastian Dröge [Tue, 8 Nov 2011 09:46:36 +0000 (10:46 +0100)]
omxvideodec: Don't try to drain the component after EOS

And don't send EOS twice in any case. This most likely
will cause the component to not output it again and
is not necessary anyway.

12 years agoomxvideodec: Implement dropping of too late frames via QoS
Sebastian Dröge [Tue, 8 Nov 2011 08:09:28 +0000 (09:09 +0100)]
omxvideodec: Implement dropping of too late frames via QoS

12 years agoomxaudioenc: Minor code refactoring
Sebastian Dröge [Tue, 8 Nov 2011 07:31:58 +0000 (08:31 +0100)]
omxaudioenc: Minor code refactoring

12 years agoomxvideoenc: Minor code refactoring
Sebastian Dröge [Tue, 8 Nov 2011 07:31:43 +0000 (08:31 +0100)]
omxvideoenc: Minor code refactoring

12 years agoomxvideodec: Make sure to always release buffers back to OMX
Sebastian Dröge [Tue, 8 Nov 2011 07:31:32 +0000 (08:31 +0100)]
omxvideodec: Make sure to always release buffers back to OMX

12 years agoomx: Also properly release buffers when in error state
Sebastian Dröge [Tue, 8 Nov 2011 07:24:19 +0000 (08:24 +0100)]
omx: Also properly release buffers when in error state

12 years agoomx: Properly release buffers during flushing
Jonas Larsson [Tue, 8 Nov 2011 07:22:08 +0000 (08:22 +0100)]
omx: Properly release buffers during flushing

We can't pass them back to OMX_FillThisBuffer() or OMX_EmptyThisBuffer()
but instead of doing nothing we have to put them back into our queue.
Otherwise the buffer is leaked and we will have too few buffers in
the future.

12 years agoomxvideodec: Free pending frames after draining component
Sebastian Dröge [Mon, 7 Nov 2011 13:00:47 +0000 (14:00 +0100)]
omxvideodec: Free pending frames after draining component

12 years agoomxvideoenc: Free pending frames after draining the component
Sebastian Dröge [Mon, 7 Nov 2011 13:00:35 +0000 (14:00 +0100)]
omxvideoenc: Free pending frames after draining the component

12 years agoomxvideoenc: Make handling and usage of the base video codec frames threadsafe
Sebastian Dröge [Mon, 7 Nov 2011 10:07:01 +0000 (11:07 +0100)]
omxvideoenc: Make handling and usage of the base video codec frames threadsafe

12 years agoomxvideoenc: Fix deadlock between srcpad stream lock and ::reset()
Sebastian Dröge [Mon, 7 Nov 2011 10:05:29 +0000 (11:05 +0100)]
omxvideoenc: Fix deadlock between srcpad stream lock and ::reset()

12 years agoomxvideoenc: Make handling and usage of the base video codec frames threadsafe
Sebastian Dröge [Mon, 7 Nov 2011 10:04:27 +0000 (11:04 +0100)]
omxvideoenc: Make handling and usage of the base video codec frames threadsafe

12 years agoomxvideoenc: Free all pending frames after draining the component
Sebastian Dröge [Mon, 7 Nov 2011 09:58:44 +0000 (10:58 +0100)]
omxvideoenc: Free all pending frames after draining the component

12 years agoomxvideodec: Always free all pending frames when caps changes require reconfiguration
Sebastian Dröge [Mon, 7 Nov 2011 09:58:24 +0000 (10:58 +0100)]
omxvideodec: Always free all pending frames when caps changes require reconfiguration

12 years agoomxaudioenc: Only drain the component a single time and only after processing started
Sebastian Dröge [Fri, 4 Nov 2011 08:43:48 +0000 (09:43 +0100)]
omxaudioenc: Only drain the component a single time and only after processing started

12 years agoomxvideodec: Only drain the component a single time and only after processing started
Sebastian Dröge [Fri, 4 Nov 2011 08:43:32 +0000 (09:43 +0100)]
omxvideodec: Only drain the component a single time and only after processing started

12 years agoomxvideoenc: Only drain the component a single time and only after processing started
Sebastian Dröge [Fri, 4 Nov 2011 08:43:12 +0000 (09:43 +0100)]
omxvideoenc: Only drain the component a single time and only after processing started

12 years agoomx: Reset buffer flags to 0 after it was consumed by the component or the element
Sebastian Dröge [Fri, 4 Nov 2011 08:04:16 +0000 (09:04 +0100)]
omx: Reset buffer flags to 0 after it was consumed by the component or the element

Some implementations don't reset the flags and the standard is not
really clear on the expected behaviour. Let's just always reset the
flags as they're not valid at this point anymore.

12 years agoomxvideoenc: Better handling of encoder parameters
Sebastian Dröge [Wed, 2 Nov 2011 12:50:14 +0000 (13:50 +0100)]
omxvideoenc: Better handling of encoder parameters

Only set them if necessary and allow to use the component
defaults.

12 years agoomxvideoenc: Make unsupported bitrate/quantizer settings less fatal
Sebastian Dröge [Wed, 2 Nov 2011 12:22:50 +0000 (13:22 +0100)]
omxvideoenc: Make unsupported bitrate/quantizer settings less fatal

12 years agoomxvideodec: If no stride was set for the OMX output port assume GStreamer stride
Sebastian Dröge [Wed, 2 Nov 2011 09:39:50 +0000 (10:39 +0100)]
omxvideodec: If no stride was set for the OMX output port assume GStreamer stride

This is not really correct but there's nothing else we could do.

12 years agoomxvideoenc: If no stride was set for the OMX input port assume GStreamer stride
Sebastian Dröge [Wed, 2 Nov 2011 09:39:10 +0000 (10:39 +0100)]
omxvideoenc: If no stride was set for the OMX input port assume GStreamer stride

This is not really correct but there's nothing else we could do.

12 years agoomxaudioenc: Implement draining of the component and use it
Sebastian Dröge [Tue, 1 Nov 2011 15:46:09 +0000 (16:46 +0100)]
omxaudioenc: Implement draining of the component and use it

This makes sure that all buffers are encoded and pushed downstream
before flushing the ports and losing some buffers.

12 years agoomxvideoenc: Implement draining of the component and use it
Sebastian Dröge [Tue, 1 Nov 2011 15:41:46 +0000 (16:41 +0100)]
omxvideoenc: Implement draining of the component and use it

This makes sure that all buffers are encoded and pushed downstream
before flushing the ports and losing some buffers.

12 years agoomxvideodec: Implement draining of the component and use it
Sebastian Dröge [Tue, 1 Nov 2011 15:08:59 +0000 (16:08 +0100)]
omxvideodec: Implement draining of the component and use it

This makes sure that all buffers are decoded and pushed downstream
before flushing the ports and losing some buffers.

12 years agoomxvideodec: Fix deadlock if ::reset is called before finding the corresponding frame...
Sebastian Dröge [Thu, 20 Oct 2011 12:32:40 +0000 (14:32 +0200)]
omxvideodec: Fix deadlock if ::reset is called before finding the corresponding frame of a decoded buffer

12 years agoomxaudioenc: Forward downstream flow returns to upstream
Sebastian Dröge [Tue, 1 Nov 2011 14:10:12 +0000 (15:10 +0100)]
omxaudioenc: Forward downstream flow returns to upstream

12 years agoomxvideoenc: Forward downstream flow returns to upstream
Sebastian Dröge [Tue, 1 Nov 2011 14:10:01 +0000 (15:10 +0100)]
omxvideoenc: Forward downstream flow returns to upstream

12 years agoomxvideodec: Forward downstream flow returns to upstream
Sebastian Dröge [Tue, 1 Nov 2011 12:58:38 +0000 (13:58 +0100)]
omxvideodec: Forward downstream flow returns to upstream

12 years agoomx: Add minimal README file
Sebastian Dröge [Tue, 25 Oct 2011 12:23:38 +0000 (14:23 +0200)]
omx: Add minimal README file