After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746964 - androidmedia: bug in create_amc_format i-frame-interval IllegalStateException
androidmedia: bug in create_amc_format i-frame-interval IllegalStateException
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other other
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-29 10:42 UTC by msielski
Modified: 2018-11-03 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description msielski 2015-03-29 10:42:09 UTC
Hi,

There is a bug in create_amc_format function (gstamcvideoenc.c).
According to http://developer.android.com/reference/android/media/MediaFormat.html
KEY_I_FRAME_INTERVAL is mandatory for the encoder.

Current implementation causes IllegalStateExcaption while configuring the encoder with MediaFormat parameters (i_frame_int is set by default to 0).

if (encoder->i_frame_int)
line of code shall be removed from create_amc_format.

Best Regards

Marcin Sielski
Comment 1 Sebastian Dröge (slomo) 2015-04-26 18:57:49 UTC
Do you want to provide a patch?
Comment 2 GStreamer system administrator 2018-11-03 13:32:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/224.