[Bug 746964] New: androidmedia: bug in create_amc_format i-frame-interval IllegalStateException

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Mar 29 03:42:09 PDT 2015


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

            Bug ID: 746964
           Summary: androidmedia: bug in create_amc_format
                    i-frame-interval IllegalStateException
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: other
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: msielski at o2.pl
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list