Commit graph

534 commits

Author SHA1 Message Date
Christian König
0a8cfcde87 omxvideodec: fix startup race condition
The reset function shouldn't start the src pad
loop if it wasn't started before.

Signed-off-by: Christian König <christian.koenig@amd.com>
2014-03-02 12:08:09 +01:00
Sebastian Dröge
289ecfe35c Automatic update of common submodule
From fe1672e to bcb1518
2014-02-28 09:36:13 +01:00
Stefan Sauer
3c6ffbb0ae Automatic update of common submodule
From 1a07da9 to fe1672e
2014-02-26 22:15:00 +01:00
Edward Hervey
c44cd84940 Automatic update of common submodule
From d48bed3 to 1a07da9
2014-01-30 10:45:18 +01:00
Sebastian Dröge
1bf4edf721 omx: Don't handle FLUSHING and NOT_LINKED as errors
Also don't stop the task on NOT_LINKED. We're not a demuxer.
2014-01-25 17:44:57 +01:00
Tim-Philipp Müller
8b4ef3e1e5 Automatic update of common submodule
From dbedaa0 to d48bed3
2013-12-22 22:35:31 +00:00
Tim-Philipp Müller
8932bef0f3 Automatic update of common submodule
From 865aa20 to dbedaa0
2013-11-05 11:22:02 +00:00
Josep Torra
244320fe48 examples: simplify the thread synchronization code
Make everithing more simple and fix the races conditions remaining in
the previous approaches.
2013-09-28 14:14:54 +02:00
Sebastian Dröge
b129376a57 rpi: The WMV/VC1 decoder can only do WMV9 and VC1, no older versions 2013-09-25 19:17:17 +02:00
Tim-Philipp Müller
34b2df71d5 Automatic update of common submodule
From 6b03ba7 to 865aa20
2013-09-24 18:34:42 +01:00
Josep Torra
a628153260 examples: fix another race condition
Fix a race condition that caused randome deadlocks on EOS.
2013-09-24 18:54:23 +02:00
Josep Torra
92098e66af rpi: fix a copy paste error in the config file 2013-09-20 18:51:04 +02:00
Josep Torra
aa21522afb examples: fix a race condition when seeking
Fixes a race condition that caused pipeline deadlock during seeks.
2013-09-20 18:50:26 +02:00
Josep Torra
995e3af89a examples: display QoS statistics 2013-09-20 18:22:43 +02:00
Josep Torra
e6633182f3 examples: use dedicated thread for rendering the scene
Produces smother animation and prevents dropping frames due busy
mainloop.
2013-09-20 18:17:34 +02:00
Josep Torra
78dc6235d4 examples: don't force an specific audio sink
Let playbin2 choose the audiosink available in the system.
2013-09-20 17:52:45 +02:00
Josep Torra
02e4873651 examples: drop remnants of initial appsink attempt 2013-09-20 17:44:42 +02:00
Edward Hervey
3dfa9891aa Automatic update of common submodule
From b613661 to 6b03ba7
2013-09-20 16:18:18 +02:00
Tim-Philipp Müller
7928773bd6 Automatic update of common submodule
From 74a6857 to b613661
2013-09-19 18:45:36 +01:00
Tim-Philipp Müller
26ec4504e8 Automatic update of common submodule
From 01a7a46 to 74a6857
2013-09-19 17:38:30 +01:00
Tim-Philipp Müller
498b74ab6a omx: don't use the 'z' modifier to print size_t
gcc will warn in some cases even if the size of the type
is exactly that of size_t on the platform.

https://bugzilla.gnome.org/show_bug.cgi?id=699008
2013-08-20 16:00:07 +01:00
Roman Arutyunyan
5ba55b6c9a gstomxvideoenc: Set bitrate in setcaps
Otherwise it gets lost whenever we configure new caps

https://bugzilla.gnome.org/show_bug.cgi?id=698049
2013-07-01 15:48:47 +02:00
Ilya Smelykh
75ee954ea2 examples: enable audio in testegl example 2013-07-01 12:59:35 +02:00
Sebastian Dröge
c5a8203bbe configure: Allow build without gstreamer-egl 2013-06-12 09:38:22 +02:00
Ilya Smelykh
4593918ea4 examples: testegl example port to 1.x
https://bugzilla.gnome.org/show_bug.cgi?id=701706
2013-06-11 13:49:59 +02:00
Sebastian Dröge
f091e9a05b Automatic update of common submodule
From 098c0d7 to 01a7a46
2013-06-05 15:17:16 +02:00
Josep Torra
f3f9330332 omx: Take lock on EOS to update the flow return value
Fixes "GThread-ERROR **: file gthread-posix.c: line 171
(g_mutex_free_posix_impl): error 'Device or resource busy' during
'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'" in _finalize.
2013-05-20 12:06:34 +02:00
Sebastian Dröge
cd76c268fc Automatic update of common submodule
From 5edcd85 to 098c0d7
2013-05-15 10:54:12 +02:00
Josep Torra
c10031f371 examples: add an example aplication based OpenGL ES + EGL
Application that shows how to integrate playbin with an OpenGL ES
scene through EGL. Renders a video on the surfaces of an animated cube.

The code is not ported to 1.x so it's not built by default.
2013-05-10 13:35:48 +02:00
Josep Torra
64ef1f0e11 omxvideodec: Redesign video size change reconfiguration code
Ensure stop the decoder before clossing the tunnel.
2013-05-10 12:25:07 +02:00
Sebastian Dröge
699d3248ef Makefile.am: Add -I common/m4
This allows autoreconf to work correctly and automatic regeneration
of autotools files if something changed.
2013-05-06 16:25:27 +02:00
jitendra
715b44ea66 omx: Add pads based on element type
This allows to later add sources and sink that only have a srcpad
or sinkpad.

https://bugzilla.gnome.org/show_bug.cgi?id=699754
2013-05-06 16:20:20 +02:00
Carlos Rafael Giani
2d1138f45c omx: fixed type error in printf call
%zu expects size_t

https://bugzilla.gnome.org/show_bug.cgi?id=699008
2013-04-27 09:17:28 +01:00
Tim-Philipp Müller
a2db76b048 Check for gstreamer-egl
And don't use if not available.

https://bugzilla.gnome.org/show_bug.cgi?id=697574
2013-04-23 11:05:19 +01:00
Tim-Philipp Müller
c90a6d47bc configure: error out if no OMX target has been set explicitly with --with-omx-target=x
Avoids people building for e.g. the Raspberry Pi and then wondering
why things don't work as expected (since structs are packed differently
there).
2013-04-23 09:53:18 +01:00
Tim-Philipp Müller
cec15addc9 Automatic update of common submodule
From 3cb3d3c to 5edcd85
2013-04-22 23:55:03 +01:00
Tim-Philipp Müller
2cbbab3128 omx: more printf format fixes
Fix printf formats again, so that gst-omx compiles warning-
free on the Raspberry Pi as well. Unfortunately OMX_UINT32
maybe be typedefed to uint32_t or unsigned long, which
doesn't work well with our debugging printf format strings,
so just use %u for those and cast to guint.
2013-04-18 23:10:13 +01:00
Josep Torra
82807bd9dd omx: fixes unused variable 'comp' when GStreamer is built without debug 2013-04-18 16:40:06 +02:00
Josep Torra
9d0763a91d omxvideodec: don't use 'self->dec_out_port' anymore and use just 'port'
Fixes some criticals.
2013-04-18 16:03:56 +02:00
Josep Torra
9de6308382 omxvideodec: fixes 'port' may be used uninitialized in this function 2013-04-18 15:21:32 +02:00
Josep Torra
4974f75d91 omxvideodec: silence warnings building for RPI related to 'vcos_*' 2013-04-18 12:03:31 +02:00
Josep Torra
ae3454683e omxvideodec: Use new type from libgstvideo 2013-04-18 11:45:50 +02:00
jitendra
960590f92f omx: Disable output port before transition to idle state
https://bugzilla.gnome.org/show_bug.cgi?id=698109
2013-04-16 12:46:48 +02:00
Sebastian Dröge
c3ca9658a0 gst: Add better support for static plugins 2013-04-15 16:00:27 +02:00
Tim-Philipp Müller
4da477d9bc Automatic update of common submodule
From aed87ae to 3cb3d3c
2013-04-14 17:57:34 +01:00
Tim-Philipp Müller
c2d9f41a62 configure: add --disable-fatal-warnings for disabling -Werror 2013-04-12 17:58:30 +01:00
Stefan Sauer
9aa583b726 Automatic update of common submodule
From 04c7a1e to aed87ae
2013-04-09 21:02:09 +02:00
Tim-Philipp Müller
0c08d375f4 omx: fix printf formats in debug messages
OMX_U32 is typedefed to an unsigned long,
OMX_TICKS to a 64-bit integer.
2013-04-08 17:02:32 +01:00
Josep Torra
16cf5d77db omxvideodec: use the correct printf format in a debug message 2013-04-08 16:52:19 +02:00
Josep Torra
c46a6a757e omxvideodec: use the correct OMX_IndexParam value
Fixes playback is not smooth in the EGL path.
2013-04-08 16:31:33 +02:00