Thanks Edward for the response.<div><br></div><div>Regards,</div><div>Sumeeth<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 7:30 PM, Edward Hervey <span dir="ltr"><<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div><div></div><div class="h5"><br>
On Tue, 2011-04-26 at 16:03 +0530, sumeeth kc wrote:<br>
> Hi all,<br>
> In gstreamer editing services, I was trying to cut a file, which<br>
> works fine. However, I would also like to copy the tags from the<br>
> original file to the cut file. I am retrieving the input file tags via<br>
> GST_MESSAGE_TAG, however to set the tags on the muxer, I dont have the<br>
> reference to call gst_tag_setter_merge_tags(), since I believe the<br>
> muxer exists inside the encode bin of the ges pipeline. How can I<br>
> retrieve the reference to the muxer?<br>
<br>
</div></div> You could retrieve the reference to the muxer by recursively searching<br>
in encodebin (through gst_bin_iterate_elements()) for an element whose<br>
factory klass contains 'Muxer' *or* that implements the GstTagSetter<br>
interface.<br>
<br>
Ideally we should make encodebin implement the TagSetter interface<br>
(and proxy the various calls to the contained compatible elements).<br>
<br>
Edward<br>
<br>
><br>
> Thanks.<br>
> --Sumeeth.<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>