[Bug 687183] playbin: caps negotation if VIDEO_FORMAT is unknown

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 6 23:59:59 PDT 2013


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

--- Comment #18 from sreerenj <bsreerenj at gmail.com> 2013-06-07 06:59:52 UTC ---
(In reply to comment #16)
> (In reply to comment #15)
> > (In reply to comment #14)
> > > Ok, so after talking to Wim it is allowed to do an allocation query before caps
> > > are set and even without caps inside the query. That's what you could do.
> > >
> > 
> > Does it meant to negotiate a pool with out setting output video format from
> > decoder (and invoke gst_video_decoder_set_output_fromat() after we finishes the
> > decoding of first buffer)? or to set the o/p format to
> > GST_VIDEO_FORMAT_ENCODED?
> 
> Yes, not ENCODED. Will need changes to the base class though as it currently
> requires to have a format set before negotiating a pool.
> 
> > Then i worried that it will lead to buffer-pool re-negotiation again..
> 
> Can happen, yes

Hm,,I don't want to do the bufferpool renegotiation. Here I guess, there will
be a re-nego for sure since we set the o/p after the decoding of first
buffer(may be we can avoid this with more patches to basedecoder, not sure
though). IF there is a case of pool-renegotiation then it doesn't give any
advantage over the current implementation  :)

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