[Bug 719684] videodecoder: Allocation query is always at least sent twice

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 2 08:20:38 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=719684
  GStreamer | gst-plugins-base | git

--- Comment #4 from Julien Isorce <julien.isorce at gmail.com> 2013-12-02 16:20:32 UTC ---
I think if the  downstream element sends a reconfigure event, the call to
"klass->negotiate (decoder)" from "gst_video_decoder_negotiate" will be done
automatically when the decoder calls any of the following functions:

gst_video_decoder_allocate_output_buffer
gst_video_decoder_allocate_output_frame
gst_video_decoder_finish_frame


But in case this is not valid, here are what you asked:

  if (klass->negotiate)
    ret = klass->negotiate (decoder);

  /* clear GST_PAD_FLAG_NEED_RECONFIGURE if negotiation succeeded */
  if (ret)
    gst_pad_check_reconfigure (decoder->srcpad);

Is it what you thought ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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