<div dir="ltr">Yes, Sure. So Basically, I have created a separate sink (statically registered with the decode module), that does the following:<div><br><div>1) Get the output capabilities(caps) from the gstreamer decoder and let the gstdecode module know the raw video info.(by emitting callbacks)</div><div>    The gstdecode module will then translate this into the VLC spec and set it to the vout.</div><div><br></div><div>2) Helps in negotiating the bufferpool/allocator (wrappers around vlc-vout pictures), by querying the info such as strides/info, alignment</div><div>    from the vout, based on the info set in 1). Generally the flow is that any  gstreamer decoder sends a query downstream, the downstream </div><div>    (in our case is sink) parses the query and  responds to the query by passing in it's pool/allocator. The decoder if satisfied with</div><div>    the info provided, will decide to use the pool (got from query) or will use it's own pool. Apart from the pool, vlcvideosink also advertises that</div><div>    it's bufferpool also support the Video metaAPI related to getting the info that is Video frame specific (like plane Strides/Offsets) from the GstBuffers,</div><div>    and are mapped from the vlc pictures (planes).</div><div><br></div><div>3) Pass the buffers to the gstdecode.(by emitting callbacks)</div><div><br></div><div><br></div><div>Thanks,</div><div>Vikram</div><div><br></div><div>   </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 9:29 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02 Feb, Vikram Fugro wrote :<br>
<span class="">> On Tue, Feb 2, 2016 at 2:15 PM, Jean-Baptiste Kempf <<a href="mailto:jb@videolan.org">jb@videolan.org</a>> wrote:<br>
><br>
> > On 29 Jan, Vikram Fugro wrote :<br>
> > >  modules/codec/Makefile.am                          |   2 +-<br>
> > >  modules/codec/gstdecode.c                          | 894<br>
> > ---------------------<br>
> > >  modules/codec/gstreamer/gstdecode.c                | 883<br>
> > ++++++++++++++++++++<br>
> ><br>
> > You should move that change into a separate commit.<br>
><br>
>     OK. Will create a separate commit for this first.<br>
<br>
</span>Cool. :)<br>
<span class=""><br>
> > >  create mode 100644 modules/codec/gstreamer/gstdecode.c<br>
> > >  create mode 100644 modules/codec/gstreamer/gstvlcpictureplaneallocator.c<br>
> > >  create mode 100644 modules/codec/gstreamer/gstvlcpictureplaneallocator.h<br>
> > >  create mode 100644 modules/codec/gstreamer/gstvlcvideopool.c<br>
> > >  create mode 100644 modules/codec/gstreamer/gstvlcvideopool.h<br>
> > >  create mode 100644 modules/codec/gstreamer/gstvlcvideosink.c<br>
> > >  create mode 100644 modules/codec/gstreamer/gstvlcvideosink.h<br>
> ><br>
> > Some of those files do not have license information.<br>
> ><br>
><br>
>    Oops! Sorry, completely slipped out my mind.<br>
<br>
</span>Thanks.<br>
<br>
Btw, can you explain a bit more what this sink is doing?<br>
<div class="HOEnZb"><div class="h5"><br>
With my kindest regards,<br>
<br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" rel="noreferrer" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" value="+33672704734">+33 672 704 734</a><br>
Sent from my Electronic Device<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>