Commit graph

799 commits

Author SHA1 Message Date
Sebastian Dröge
96cba5d978 Back to development 2016-09-01 12:36:09 +03:00
Sebastian Dröge
3fd93d08c1 Release 1.9.2 2016-09-01 12:35:58 +03:00
Stefan Sauer
7c510943c3 Automatic update of common submodule
From ac2f647 to f49c55e
2016-07-11 21:15:48 +02:00
Sebastian Dröge
add5f780c2 Back to development 2016-07-06 13:51:24 +03:00
Sebastian Dröge
394f21a98a Release 1.9.1 2016-07-06 13:48:45 +03:00
Kazunori Kobayashi
766cd65fa4 omxvideodec: Use GST_VIDEO_FRAME_PLANE_STRIDE() to get output buffer's stride
GST_VIDEO_FRAME_PLANE_STRIDE() should be used to get the actual buffer stride,
as reported in the buffers's GstVideoMeta, when copying data to that buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=768173
2016-06-29 18:44:20 +10:00
Nicolas Dufresne
7d52ad84bc Automatic update of common submodule
From ac2f647 to f363b32
2016-06-21 11:48:40 -04:00
Aurélien Zanelli
d07aa49943 omxaudioenc: implement GstPreset interface
To allow user to use GstPreset to quickly save and load a set of
parameters.

https://bugzilla.gnome.org/show_bug.cgi?id=767907
2016-06-21 15:02:02 +03:00
Aurélien Zanelli
0c265c1e0e omxvideoenc: implement GstPreset interface
To allow user to use GstPreset to quickly save and load a set of
parameters.

https://bugzilla.gnome.org/show_bug.cgi?id=767907
2016-06-21 15:02:02 +03:00
Sebastian Dröge
a78756c63f omx: #define OMX_SKIP64BIT on the RPi as required by their API
Also add generic support for OMX_SKIP64BIT to gst-omx, in case other
implementations also #define that for whatever reason.

https://bugzilla.gnome.org/show_bug.cgi?id=766475
2016-06-17 12:06:48 +03:00
Sebastian Dröge
198e31355f omxvideodec: Implement ::drain() virtual method
https://bugzilla.gnome.org/show_bug.cgi?id=767641
2016-06-17 10:59:45 +03:00
Tim-Philipp Müller
94789f19cf configure: remove AG_GST_PARSE_SUBSYSTEM_DISABLES
This would check which subsystems are disabled in core by grepping
gstconfig.h. Only problem is: gstconfig.h has moved into libdir now
so we've been checking a non-existent file for a while now. The
macro would just sets GST_DISABLE_* for use in configure.ac and
Makefile.am, but we don't use that anywhere so just get rid of it
(the one place where we use GST_DISABLE_GST_DEBUG is in a .c file
which gets the define from the gstconfig.h include).

https://bugzilla.gnome.org/show_bug.cgi?id=750056
2016-06-04 19:34:50 +01:00
Gwang Yoon Hwang
27d2cdd45d omxvideodec : Use gstglmemoryegl for the RPi
Modified to use gstglmemoryegl to avoid texture creation/copy operations
at the glupload.

[Matthew Waters]: gst-indent the sources and port testegl to GstGLMemoryEGL

https://bugzilla.gnome.org/show_bug.cgi?id=760918
2016-05-04 13:42:23 +10:00
Julien Isorce
91dd92964d Automatic update of common submodule
From 6f2d209 to ac2f647
2016-04-14 10:04:32 +01:00
Sebastian Dröge
e6792630a8 Automatic update of common submodule
From b64f03f to 6f2d209
2016-02-26 12:42:41 +02:00
Matthew Waters
705d7722fb examples: update egl example for gstgl API changes
https://bugzilla.gnome.org/show_bug.cgi?id=762053
https://bugzilla.gnome.org/show_bug.cgi?id=753917
2016-02-17 20:59:58 +11:00
Thiago Santos
e4ff24a907 Automatic update of common submodule
From 86e4663 to b64f03f
2016-02-05 18:11:06 -03:00
Koop Mast
e4c32adaf3 configure: Make -Bsymbolic check work with clang.
Update the -Bsymbolic check with the version glib has. This version
works with clang.

https://bugzilla.gnome.org/show_bug.cgi?id=759713
2015-12-21 12:28:11 +01:00
Nicolas Dufresne
d60c46920b Automatic update of common submodule
From b319909 to 86e4663
2015-12-07 09:11:32 -05:00
Enrique Ocaña González
271093d633 Remember the last_error after a failed set state call to avoid blocking the next get state call
gst_omx_video_dec_flush() blocks forever in
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomxvideodec.c?id=9adf0ff82903cad5331e40975ae91ed5d11bc102#n2110
when the previous call to gst_omx_component_set_state() fails in
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomx.c?id=9adf0ff82903cad5331e40975ae91ed5d11bc102#n827.
To mitigate that, I set "last_error" to true, so the code in
http://cgit.freedesktop.org/gstreamer/gst-omx/tree/omx/gstomx.c?id=9adf0ff82903cad5331e40975ae91ed5d11bc102#n862
exits early and doesn't block.

https://bugzilla.gnome.org/show_bug.cgi?id=758274
2015-11-18 15:18:02 +02:00
Enrique Ocaña González
d1a79d7c59 Properly handle drain requests while flushing
Without this commit the decoder streaming thread stops without ever attending
the drain request, leaving the decoder input thread waiting forever.

https://bugzilla.gnome.org/show_bug.cgi?id=758274
2015-11-18 15:18:02 +02:00
Nicolas Huet
9adf0ff829 omx: fix hacks leak on class init 2015-11-18 12:02:44 +00:00
Tim-Philipp Müller
bd50715ef2 Automatic update of common submodule
From b99800a to b319909
2015-10-21 14:37:13 +01:00
Sebastian Dröge
070f7a0fde Automatic update of common submodule
From 9aed1d7 to b99800a
2015-10-21 14:28:41 +03:00
Thiago Santos
03fc454457 omxaacdec: Do not accept unknown layouts
It was defaulting to RAW when an unknown layout was received but
the caps template would actually forbid that on the caps query
or accept-caps anyway.
2015-09-01 16:13:00 -03:00
Thiago Santos
1f3bf04fe7 omxaudiodec: use default pad accept-caps handling
Instead of the audiodecoder one. The OMX audioo decoders have their
valid input in the template pad, so just check against that to
avoid doing a query downstream.
2015-09-01 09:01:45 -03:00
Thiago Santos
c038df6671 omxvideodec: use default pad accept-caps handling
Instead of the videodecoder one. The OMX video decoders have their
valid input in the template pad, so just check against that to
avoid doing a query downstream.
2015-08-28 12:57:33 -03:00
Graham Leggett
703bab6885 omxvideoenc: Add keyframe support for the Rpi, using OMX_IndexConfigBrcmVideoRequestIFrame
https://bugzilla.gnome.org/show_bug.cgi?id=753085
2015-08-27 11:15:29 +03:00
Vineeth TM
fb95ce9bfc gst-omx: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753865
2015-08-20 11:33:58 +03:00
Philippe Normand
e0327521f6 omxh264dec: implement is_format_change
The omxvideodecoder class only checks some of the caps parameters but if
other fields change such as h264 profile and/or level it wouldn't trigger a
reconfiguration.

https://bugzilla.gnome.org/show_bug.cgi?id=752376
2015-08-16 15:48:16 +02:00
Aurélien Zanelli
d2df0fb032 omxvideodec: unref allocator after getting it from allocation query
Otherwise a reference will be leaked for each allocator. It only happens
when target platform is Raspberry Pi and when we have GL support.

https://bugzilla.gnome.org/show_bug.cgi?id=751867
2015-07-06 11:54:28 +03:00
Stefan Sauer
461c7db44b Automatic update of common submodule
From f74b2df to 9aed1d7
2015-07-03 21:59:54 +02:00
Nicolas Dufresne
e40ca46e2c Automatic update of common submodule
From 6015d26 to f74b2df
2015-06-16 17:50:14 -04:00
Edward Hervey
e59b6150cb Automatic update of common submodule
From d9a3353 to 6015d26
2015-06-09 11:30:49 +02:00
Stefan Sauer
4d60cf379b Automatic update of common submodule
From d37af32 to d9a3353
2015-06-08 23:08:28 +02:00
Stefan Sauer
df1e16dca5 Automatic update of common submodule
From 21ba2e5 to d37af32
2015-06-07 23:07:22 +02:00
Stefan Sauer
d1c473c69f Automatic update of common submodule
From c408583 to 21ba2e5
2015-06-07 17:32:25 +02:00
Stefan Sauer
d996de589b Automatic update of common submodule
From c8fb372 to c408583
2015-06-07 17:16:43 +02:00
Sebastian Dröge
3f46a12aab omxaudiodec: Add an output adapter for chunking the output into codec frames
Otherwise the base class will be confused.
See https://bugzilla.gnome.org/show_bug.cgi?id=685730
2015-05-19 19:14:42 +03:00
Tim-Philipp Müller
afab78e52e Remove obsolete Android build cruft
This is not needed any longer.
2015-04-26 18:24:26 +01:00
Sebastian Dröge
62e6c5b3d8 Remove INSTALL file
autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.
2015-04-22 10:40:22 +02:00
Tim-Philipp Müller
ed7a301a42 Add m4 directory so aclocal doesn't complain in autogen.sh
Might come in handy, and these warnings seem to be
fatal in some environments.

You may need to git clean -x -d -f your tree before
git pulling/merging.
2015-04-08 16:03:34 +01:00
Tim-Philipp Müller
2dd79f5723 Update autogen.sh to latest version 2015-04-07 22:25:57 +01:00
Tim-Philipp Müller
f39f71ad9f Automatic update of common submodule
From bc76a8b to c8fb372
2015-04-03 18:58:17 +01:00
Luis de Bethencourt
24c0197e46 omxaudiodec: add comment explaining duplicate code path 2015-03-06 12:12:49 +00:00
Luis de Bethencourt
e8d76fb1ef Revert "omxaudiodec: remove duplicate code path"
This reverts commit a8d26ff27a.
2015-03-06 12:09:06 +00:00
Luis de Bethencourt
70c48cf85f omx: handle both errors in the two steps of update_port_definition
Also consider potential errors in the _get_parameter() in the return of the
update_port_definition function.

CID #1287052
2015-03-06 12:06:22 +00:00
Luis de Bethencourt
3aa008adb7 omxaudioenc: impossible if statement
ret is set to GST_STATE_CHANGE_SUCCESS and never touched, so it is impossible
for it to be anything else at the if check. Remove the if check.

CID #1287053
2015-03-06 10:57:53 +00:00
Luis de Bethencourt
964cb549bb omxaudiodec: impossible if statement
ret is set to GST_STATE_CHANGE_SUCCESS and never touched, so it is impossible
for it to be anything else at the if check. Remove it.

CID #1287054
2015-03-06 10:54:46 +00:00
Luis de Bethencourt
a8d26ff27a omxaudiodec: remove duplicate code path 2015-03-06 10:50:30 +00:00