[Bug 763401] Zero-copy video playback doesn't work on Android 4.x (QA 1.7.90)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 11 05:18:17 UTC 2016


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

--- Comment #11 from Gregoire <gregoire at gentil.com> ---
Just as a reminder, the same app works on Android 6.0.1.

This is the code that is hit: line 545 of gstamc.c

  if (ret == INFO_OUTPUT_BUFFERS_CHANGED || ret == INFO_OUTPUT_FORMAT_CHANGED
      || (ret >= 0 && !codec->output_buffers
          && !media_codec.get_output_buffer)) {
    if (!media_codec.get_output_buffer) {
      if (codec->output_buffers)
        gst_amc_jni_free_buffer_array (env, codec->output_buffers,
            codec->n_output_buffers);
      codec->output_buffers =
          gst_amc_codec_get_output_buffers (codec,
          &codec->n_output_buffers, err);
      if (!codec->output_buffers) {
        ret = G_MININT;
        goto done;
      }
    }

Twice it hits this test and it never reaches line 560. Then, it fails in
gstamcvideodec.c line 1293.

-- 
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