platform/upstream/gst-omx.git
7 years agoomxh264enc: use OMX_IndexConfigBrcmVideoIntraPeriod on pi
Guillaume Desmottes [Wed, 28 Jun 2017 13:06:10 +0000 (15:06 +0200)]
omxh264enc: use OMX_IndexConfigBrcmVideoIntraPeriod on pi

The OMX_VIDEO_CONFIG_AVCINTRAPERIOD.nPFrames setting isn't of any use on
the raspbery pi. Instead it uses a custom extension to define the I
frame period.

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

7 years agoomxh264enc: factor out set_avc_intra_perdiod()
Guillaume Desmottes [Wed, 28 Jun 2017 13:03:52 +0000 (15:03 +0200)]
omxh264enc: factor out set_avc_intra_perdiod()

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

7 years agomeson: define HAVE_VIDEO_EXT if OMX_VideoExt.h is present
Guillaume Desmottes [Fri, 2 Jun 2017 10:48:57 +0000 (12:48 +0200)]
meson: define HAVE_VIDEO_EXT if OMX_VideoExt.h is present

Meson build wasn't defining the HAVE_VIDEO_EXT like configure.ac does.

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

7 years agoomxvideoenc: Improve debug output when setting codec state due to new codec_data...
Graham Leggett [Sun, 11 Jun 2017 12:32:01 +0000 (12:32 +0000)]
omxvideoenc: Improve debug output when setting codec state due to new codec_data fails

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

7 years agoomx: allow 0 feature
Julien Isorce [Sat, 20 May 2017 13:49:20 +0000 (14:49 +0100)]
omx: allow 0 feature

Previously the omx plugin was blacklisted if GST_OMX_CONFIG_DIR
points to an invalid path or if the gstomx.conf contains 0 valid
component.
Problem is that once the plugin is blacklisted, a rescan is not
triggered upon changes of the env var or the gstomx.conf file
despite being setup with gst_plugin_add_dependency.

This also makes it more consistent with other plugins that auto
generate features. For example gst-{ffmeg,libav}, gstreamer-vaapi,
v4l2 video dec.

To clarify the diff, the plugin_init func will return TRUE even if
g_key_file_get_groups returns 0 element and even if
g_key_file_load_from_dirs fails.

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

7 years agoconfig: add OMX.st.audio_decoder.mp3.mad for Bellagio config
Gurkirpal Singh [Wed, 26 Apr 2017 17:22:17 +0000 (22:52 +0530)]
config: add OMX.st.audio_decoder.mp3.mad for Bellagio config

MP3 Software decoder (libmad based) but useful for testing
and to compare with other targets.

GST_OMX_CONFIG_DIR=$HOME/gst/master/gst-omx/config/bellagio/ \
    gst-launch-1.0 filesrc location=mpthreetest.mp3 ! id3demux ! \
    mpegaudioparse ! omxmp3dec ! audioconvert ! pulsesink

Didn't add 'local' in core-name path compared to other components
in that same gstomx.conf file because OMX.st.audio_decoder.mp3.mad
comes with the Ubuntu package 'libomxil-bellagio0-components-mad'.
All other components listed in this gstomx.conf for Bellagio, are
not provided by any Ubuntu packages. It could explain the 'local',
i.e. requiring to build them from source.

dpkg -L libomxil-bellagio0
    /usr/lib/libomxil-bellagio.so.0

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

Signed-off-by: Gurkirpal Singh <gurkirpal204@gmail.com>
Signed-off-by: Julien Isorce <jisorce@oblong.com>
7 years agoRemove plugin specific static build option
Nicolas Dufresne [Tue, 16 May 2017 18:39:04 +0000 (14:39 -0400)]
Remove plugin specific static build option

Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.

7 years agoomxvideodec: Removed unreachable code
Sejun Park [Wed, 10 May 2017 03:10:10 +0000 (12:10 +0900)]
omxvideodec: Removed unreachable code

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

7 years agomeson: add dep on GModule
Guillaume Desmottes [Tue, 9 May 2017 14:26:44 +0000 (16:26 +0200)]
meson: add dep on GModule

libgstomx uses the GModule API and so needs it in its dependencies list.

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

7 years agomeson: fix config.h generation
Tim-Philipp Müller [Tue, 9 May 2017 13:27:28 +0000 (13:27 +0000)]
meson: fix config.h generation

"No such input file config.h.meson", but it's not needed anyway.

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

7 years agoBack to development
Sebastian Dröge [Thu, 4 May 2017 15:59:33 +0000 (18:59 +0300)]
Back to development

7 years agoRelease 1.12.0
Sebastian Dröge [Thu, 4 May 2017 12:48:56 +0000 (15:48 +0300)]
Release 1.12.0

7 years agoRelease 1.11.91
Sebastian Dröge [Thu, 27 Apr 2017 14:53:50 +0000 (17:53 +0300)]
Release 1.11.91

7 years agovideoenc: use GST_ROUND_UP_N() macro
Guillaume Desmottes [Mon, 17 Apr 2017 15:02:48 +0000 (17:02 +0200)]
videoenc: use GST_ROUND_UP_N() macro

Makes the code much easier to read and understand.

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

7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 24 Apr 2017 19:30:21 +0000 (20:30 +0100)]
Automatic update of common submodule

From 60aeef6 to 48a5d85

7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Apr 2017 22:51:00 +0000 (23:51 +0100)]
Automatic update of common submodule

From 39ac2f5 to 60aeef6

7 years agoRelease 1.11.90
Sebastian Dröge [Fri, 7 Apr 2017 13:36:45 +0000 (16:36 +0300)]
Release 1.11.90

7 years agoomxvideoenc: Fix compiler warning
Sebastian Dröge [Fri, 7 Apr 2017 11:27:23 +0000 (14:27 +0300)]
omxvideoenc: Fix compiler warning

gstomxvideoenc.c: In function ‘gst_omx_video_enc_fill_buffer’:
  CC       libgstomx_la-gstomxaacdec.lo
gstomxvideoenc.c:1316:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘OMX_U32 {aka long unsigned int}’ [-Wformat=]
     GST_LOG_OBJECT (self, "Matched strides - direct copy %u bytes",
                           ^
         outbuf->omx_buf->nFilledLen);
         ~~~~~~~~~~~~~~~~~~

7 years agomeson: fix logic to set HAVE_THEORA
Gurkirpal Singh [Wed, 22 Mar 2017 11:48:09 +0000 (17:18 +0530)]
meson: fix logic to set HAVE_THEORA

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

7 years agoomxvideoenc: Add an unimplemented mapping for RGBA formats
Jan Schmidt [Mon, 13 Mar 2017 16:02:06 +0000 (03:02 +1100)]
omxvideoenc: Add an unimplemented mapping for RGBA formats

Add some pixel formats mappings for 2 RGBA formats. Not yet
implemented in the buffer input code though, so no effect for now.

7 years agoomxvideoenc: Add GST_OMX_HACK_HEIGHT_MULTIPLE_16 for Rpi
Jan Schmidt [Mon, 13 Mar 2017 16:00:49 +0000 (03:00 +1100)]
omxvideoenc: Add GST_OMX_HACK_HEIGHT_MULTIPLE_16 for Rpi

The Raspberry Pi encoder produces corrupt output unless
the input height is a multiple of 16. Add a hack that adds
zero padding when needed.

7 years agoomxvideoenc: Add a mapping for OMX_COLOR_FormatYUV420PackedSemiPlanar
Jan Schmidt [Mon, 13 Mar 2017 15:42:15 +0000 (02:42 +1100)]
omxvideoenc: Add a mapping for OMX_COLOR_FormatYUV420PackedSemiPlanar

The RaspberryPi

7 years agoomxvideoenc: Filter out unimplemented formats
Jan Schmidt [Mon, 13 Mar 2017 15:40:24 +0000 (02:40 +1100)]
omxvideoenc: Filter out unimplemented formats

Don't announce pixel formats in the caps if they've not been
implemented.

7 years agoomxvideodec: demote ERROR message
Jan Schmidt [Mon, 13 Mar 2017 15:34:36 +0000 (02:34 +1100)]
omxvideodec: demote ERROR message

There's no need to warn about failing to negotiate EGL output
 - that can be perfectly normal.

7 years agomeson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 14:00:29 +0000 (16:00 +0200)]
meson: Update version

7 years agoBack to development
Sebastian Dröge [Fri, 24 Feb 2017 13:38:17 +0000 (15:38 +0200)]
Back to development

7 years agoRelease 1.11.2
Sebastian Dröge [Fri, 24 Feb 2017 13:10:17 +0000 (15:10 +0200)]
Release 1.11.2

7 years agomeson: dist meson build files
Tim-Philipp Müller [Wed, 15 Feb 2017 18:22:53 +0000 (18:22 +0000)]
meson: dist meson build files

Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.

7 years agoomxaacenc: let encoder know about incoming rate/channels
Vincent Penquerc'h [Fri, 13 Jan 2017 16:23:12 +0000 (16:23 +0000)]
omxaacenc: let encoder know about incoming rate/channels

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

7 years agobuild: add meson build definition
Matthew Waters [Tue, 17 Jan 2017 15:43:44 +0000 (02:43 +1100)]
build: add meson build definition

Currently only been tested on the RPi within gst-build.

7 years agoexamples/testegl: update for libgstgl changes
Matthew Waters [Wed, 18 Jan 2017 04:21:35 +0000 (15:21 +1100)]
examples/testegl: update for libgstgl changes

7 years agoBack to development
Sebastian Dröge [Thu, 12 Jan 2017 14:33:09 +0000 (16:33 +0200)]
Back to development

7 years agoRelease 1.11.1
Sebastian Dröge [Thu, 12 Jan 2017 14:26:55 +0000 (16:26 +0200)]
Release 1.11.1

7 years agoomxaudioenc: set base class format instead of just source pad caps
Vincent Penquerc'h [Tue, 10 Jan 2017 15:29:08 +0000 (15:29 +0000)]
omxaudioenc: set base class format instead of just source pad caps

7 years agoomx*dec: Flush before we stop the srcpad loop
Graham Leggett [Sun, 18 Dec 2016 19:46:55 +0000 (19:46 +0000)]
omx*dec: Flush before we stop the srcpad loop

Flushing could otherwise hang if output port queue of pending buffers was empty

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

7 years agoFix broken build due to syntax error
Reynaldo H. Verdejo Pinochet [Wed, 14 Dec 2016 21:29:08 +0000 (13:29 -0800)]
Fix broken build due to syntax error

Problem was introduced by 8716c23e2b0553db2982eb84c437f493c974385e

7 years agoPrevent early EOS by resetting eos flag once GST_OMX_ACQUIRE_BUFFER_EOS is triggered
Graham Leggett [Mon, 12 Dec 2016 11:12:48 +0000 (11:12 +0000)]
Prevent early EOS by resetting eos flag once GST_OMX_ACQUIRE_BUFFER_EOS is triggered

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

7 years agoAdd clear debug logging on all the paths out of gst_omx_port_acquire_buffer()
Graham Leggett [Mon, 12 Dec 2016 11:09:15 +0000 (11:09 +0000)]
Add clear debug logging on all the paths out of gst_omx_port_acquire_buffer()

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

7 years agoAdd a signals-premature-eos hack for egl_render
George Kiagiadakis [Thu, 1 Dec 2016 17:23:50 +0000 (18:23 +0100)]
Add a signals-premature-eos hack for egl_render

egl_render seems to have a bug and signals EOS before it has finished
pushing out all data; this hack simply makes acquire_buffer() wait
a bit more before signalling EOS, in case egl_render decides to spit
out some more data.

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

7 years agoAdd support for OMX_COLOR_FormatYUV420PackedSemiPlanar and OMX_COLOR_Format24bitBGR888
Graham Leggett [Sun, 11 Dec 2016 19:52:37 +0000 (19:52 +0000)]
Add support for OMX_COLOR_FormatYUV420PackedSemiPlanar and OMX_COLOR_Format24bitBGR888

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

7 years agoAutomatic update of common submodule
Edward Hervey [Sat, 3 Dec 2016 07:20:46 +0000 (08:20 +0100)]
Automatic update of common submodule

From ac2f647 to 39ac2f5

7 years agocommon: use https protocol for common submodule
Tim-Philipp Müller [Sat, 26 Nov 2016 11:27:58 +0000 (11:27 +0000)]
common: use https protocol for common submodule

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

7 years agoomx: Fix compiler warning with latest clang
Sebastian Dröge [Fri, 25 Nov 2016 21:56:06 +0000 (23:56 +0200)]
omx: Fix compiler warning with latest clang

gstomx.c:1376:42: error: implicit conversion from enumeration type 'GstOMXAcquireBufferReturn' to different enumeration type 'OMX_ERRORTYPE'
      (aka 'enum OMX_ERRORTYPE') [-Werror,-Wenum-conversion]
  g_return_val_if_fail (!port->tunneled, GST_OMX_ACQUIRE_BUFFER_ERROR);
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

7 years agovideodecoder: remove use of EGLImage orientation
Matthew Waters [Thu, 17 Nov 2016 08:56:35 +0000 (19:56 +1100)]
videodecoder: remove use of EGLImage orientation

New code should use GstVideoTransformationMeta

(The defaults do the right thing here though).

8 years agoBack to development
Sebastian Dröge [Tue, 1 Nov 2016 16:53:25 +0000 (18:53 +0200)]
Back to development

8 years agoRelease 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 16:20:48 +0000 (18:20 +0200)]
Release 1.10.0

8 years agoRelease 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 10:04:51 +0000 (13:04 +0300)]
Release 1.9.90

8 years agoconfigure: Depend on gstreamer 1.9.2.1
Sebastian Dröge [Wed, 14 Sep 2016 09:33:13 +0000 (11:33 +0200)]
configure: Depend on gstreamer 1.9.2.1

8 years agoomx: Also search for gstomx.conf in the autoconf --sysconfdir
Sebastian Dröge [Mon, 12 Sep 2016 12:09:46 +0000 (14:09 +0200)]
omx: Also search for gstomx.conf in the autoconf --sysconfdir

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

8 years agoAutomatic update of common submodule
Jan Schmidt [Sat, 10 Sep 2016 10:52:10 +0000 (20:52 +1000)]
Automatic update of common submodule

From b18d820 to f980fd9

8 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 9 Sep 2016 23:58:16 +0000 (09:58 +1000)]
Automatic update of common submodule

From ac2f647 to b18d820

8 years agoBack to development
Sebastian Dröge [Thu, 1 Sep 2016 09:36:09 +0000 (12:36 +0300)]
Back to development

8 years agoRelease 1.9.2
Sebastian Dröge [Thu, 1 Sep 2016 09:35:58 +0000 (12:35 +0300)]
Release 1.9.2

8 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 11 Jul 2016 19:15:48 +0000 (21:15 +0200)]
Automatic update of common submodule

From ac2f647 to f49c55e

8 years agoBack to development
Sebastian Dröge [Wed, 6 Jul 2016 10:51:24 +0000 (13:51 +0300)]
Back to development

8 years agoRelease 1.9.1
Sebastian Dröge [Wed, 6 Jul 2016 10:48:45 +0000 (13:48 +0300)]
Release 1.9.1

8 years agoomxvideodec: Use GST_VIDEO_FRAME_PLANE_STRIDE() to get output buffer's stride
Kazunori Kobayashi [Wed, 29 Jun 2016 07:37:43 +0000 (16:37 +0900)]
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

8 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 21 Jun 2016 15:48:40 +0000 (11:48 -0400)]
Automatic update of common submodule

From ac2f647 to f363b32

8 years agoomxaudioenc: implement GstPreset interface
Aurélien Zanelli [Tue, 21 Jun 2016 09:43:13 +0000 (11:43 +0200)]
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

8 years agoomxvideoenc: implement GstPreset interface
Aurélien Zanelli [Tue, 21 Jun 2016 09:41:15 +0000 (11:41 +0200)]
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

8 years agoomx: #define OMX_SKIP64BIT on the RPi as required by their API
Sebastian Dröge [Fri, 17 Jun 2016 09:06:48 +0000 (12:06 +0300)]
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

8 years agoomxvideodec: Implement ::drain() virtual method
Sebastian Dröge [Fri, 17 Jun 2016 07:59:45 +0000 (10:59 +0300)]
omxvideodec: Implement ::drain() virtual method

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

8 years agoconfigure: remove AG_GST_PARSE_SUBSYSTEM_DISABLES
Tim-Philipp Müller [Sat, 4 Jun 2016 18:31:45 +0000 (19:31 +0100)]
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

8 years agoomxvideodec : Use gstglmemoryegl for the RPi
Gwang Yoon Hwang [Tue, 19 Jan 2016 18:10:38 +0000 (03:10 +0900)]
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

8 years agoAutomatic update of common submodule
Julien Isorce [Thu, 14 Apr 2016 09:04:32 +0000 (10:04 +0100)]
Automatic update of common submodule

From 6f2d209 to ac2f647

8 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 26 Feb 2016 10:42:41 +0000 (12:42 +0200)]
Automatic update of common submodule

From b64f03f to 6f2d209

8 years agoexamples: update egl example for gstgl API changes
Matthew Waters [Wed, 17 Feb 2016 09:51:03 +0000 (20:51 +1100)]
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

8 years agoAutomatic update of common submodule
Thiago Santos [Fri, 5 Feb 2016 21:11:06 +0000 (18:11 -0300)]
Automatic update of common submodule

From 86e4663 to b64f03f

8 years agoconfigure: Make -Bsymbolic check work with clang.
Koop Mast [Sun, 20 Dec 2015 23:43:49 +0000 (00:43 +0100)]
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

8 years agoAutomatic update of common submodule
Nicolas Dufresne [Mon, 7 Dec 2015 14:11:32 +0000 (09:11 -0500)]
Automatic update of common submodule

From b319909 to 86e4663

8 years agoRemember the last_error after a failed set state call to avoid blocking the next...
Enrique Ocaña González [Wed, 18 Nov 2015 13:00:28 +0000 (13:00 +0000)]
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

8 years agoProperly handle drain requests while flushing
Enrique Ocaña González [Wed, 18 Nov 2015 12:59:59 +0000 (12:59 +0000)]
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

8 years agoomx: fix hacks leak on class init
Nicolas Huet [Tue, 10 Nov 2015 09:42:35 +0000 (10:42 +0100)]
omx: fix hacks leak on class init

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 21 Oct 2015 13:37:13 +0000 (14:37 +0100)]
Automatic update of common submodule

From b99800a to b319909

9 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 Oct 2015 11:28:41 +0000 (14:28 +0300)]
Automatic update of common submodule

From 9aed1d7 to b99800a

9 years agoomxaacdec: Do not accept unknown layouts
Thiago Santos [Tue, 1 Sep 2015 19:08:11 +0000 (16:08 -0300)]
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.

9 years agoomxaudiodec: use default pad accept-caps handling
Thiago Santos [Tue, 1 Sep 2015 11:59:54 +0000 (08:59 -0300)]
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.

9 years agoomxvideodec: use default pad accept-caps handling
Thiago Santos [Fri, 28 Aug 2015 15:57:33 +0000 (12:57 -0300)]
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.

9 years agoomxvideoenc: Add keyframe support for the Rpi, using OMX_IndexConfigBrcmVideoRequestI...
Graham Leggett [Sat, 22 Aug 2015 15:54:55 +0000 (15:54 +0000)]
omxvideoenc: Add keyframe support for the Rpi, using OMX_IndexConfigBrcmVideoRequestIFrame

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

9 years agogst-omx: Fix memory leaks when context parse fails
Vineeth TM [Thu, 20 Aug 2015 08:20:50 +0000 (17:20 +0900)]
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

9 years agoomxh264dec: implement is_format_change
Philippe Normand [Sun, 16 Aug 2015 12:53:42 +0000 (14:53 +0200)]
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

9 years agoomxvideodec: unref allocator after getting it from allocation query
Aurélien Zanelli [Thu, 2 Jul 2015 22:26:48 +0000 (00:26 +0200)]
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

9 years agoAutomatic update of common submodule
Stefan Sauer [Fri, 3 Jul 2015 19:59:54 +0000 (21:59 +0200)]
Automatic update of common submodule

From f74b2df to 9aed1d7

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 16 Jun 2015 21:50:14 +0000 (17:50 -0400)]
Automatic update of common submodule

From 6015d26 to f74b2df

9 years agoAutomatic update of common submodule
Edward Hervey [Tue, 9 Jun 2015 09:30:49 +0000 (11:30 +0200)]
Automatic update of common submodule

From d9a3353 to 6015d26

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 8 Jun 2015 21:08:28 +0000 (23:08 +0200)]
Automatic update of common submodule

From d37af32 to d9a3353

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 21:07:22 +0000 (23:07 +0200)]
Automatic update of common submodule

From 21ba2e5 to d37af32

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:32:25 +0000 (17:32 +0200)]
Automatic update of common submodule

From c408583 to 21ba2e5

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:16:43 +0000 (17:16 +0200)]
Automatic update of common submodule

From c8fb372 to c408583

9 years agoomxaudiodec: Add an output adapter for chunking the output into codec frames
Sebastian Dröge [Tue, 19 May 2015 15:21:40 +0000 (18:21 +0300)]
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

9 years agoRemove obsolete Android build cruft
Tim-Philipp Müller [Sun, 26 Apr 2015 17:24:13 +0000 (18:24 +0100)]
Remove obsolete Android build cruft

This is not needed any longer.

9 years agoRemove INSTALL file
Sebastian Dröge [Wed, 22 Apr 2015 08:40:22 +0000 (10:40 +0200)]
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.

9 years agoAdd m4 directory so aclocal doesn't complain in autogen.sh
Tim-Philipp Müller [Wed, 8 Apr 2015 14:57:59 +0000 (15:57 +0100)]
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.

9 years agoUpdate autogen.sh to latest version
Tim-Philipp Müller [Tue, 7 Apr 2015 21:25:57 +0000 (22:25 +0100)]
Update autogen.sh to latest version

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 3 Apr 2015 17:58:17 +0000 (18:58 +0100)]
Automatic update of common submodule

From bc76a8b to c8fb372

9 years agoomxaudiodec: add comment explaining duplicate code path
Luis de Bethencourt [Fri, 6 Mar 2015 12:12:49 +0000 (12:12 +0000)]
omxaudiodec: add comment explaining duplicate code path

9 years agoRevert "omxaudiodec: remove duplicate code path"
Luis de Bethencourt [Fri, 6 Mar 2015 12:09:06 +0000 (12:09 +0000)]
Revert "omxaudiodec: remove duplicate code path"

This reverts commit a8d26ff27a8b43f589424a59294f9057641b2a46.

9 years agoomx: handle both errors in the two steps of update_port_definition
Luis de Bethencourt [Fri, 6 Mar 2015 12:03:56 +0000 (12:03 +0000)]
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

9 years agoomxaudioenc: impossible if statement
Luis de Bethencourt [Fri, 6 Mar 2015 10:57:53 +0000 (10:57 +0000)]
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

9 years agoomxaudiodec: impossible if statement
Luis de Bethencourt [Fri, 6 Mar 2015 10:54:43 +0000 (10:54 +0000)]
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