<div dir="ltr">You're right on the money. The flags are being set fine. Thanks again.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 December 2012 13:49, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, 2012-12-22 at 13:25 +0000, Nox Deleo wrote:<br>
<br>
> Great, thanks. I gave it a try in the Python shell, but I'm not sure<br>
> I've got the usage right, since the flags don't seem to change:<br>
<br>
> >>> import gi<br>
> >>> gi.require_version('Gst', '1.0')<br>
> >>> from gi.repository import Gst<br>
> >>> Gst.init(None)<br>
> []<br>
> >>> playbin = Gst.ElementFactory.make('playbin', None)<br>
> >>> Gst.util_set_object_arg(playbin, 'flags', 'video')<br>
> >>> print(playbin.flags)<br>
> 32<br>
> >>> Gst.util_set_object_arg(playbin, 'flags', 'audio')<br>
> >>> print(playbin.flags)<br>
> 32<br>
> >>> Gst.util_set_object_arg(playbin, 'flags', 'audio+vis')<br>
> >>> print(playbin.flags)<br>
> 32<br>
><br>
> Sorry if I've missed something obvious...didn't have the best night's<br>
> sleep.<br>
<br>
</div>I suspect those are some other flags not related to playbin's flags<br>
property.<br>
<br>
Try with<br>
<br>
print playbin.get_property('flags')<br>
<br>
(the output of which might be a bit confusing, because we abuse one of<br>
the enum fields for the description).<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers<br>
-Tim<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>
</div></div></blockquote></div><br></div>