<meta http-equiv="Content-Type" content="text/html charset=iso-8859-1">Thanks Sebastian, I will do this in the future.<div><br></div><div>Olivier has created a patch that I would like to try (attached to the bug report). I assume this means that I will need to build GStreamer from sources for the ARM/Android platform? </div><div><br></div><div>Are there instructions/scripts for doing this? Hopefully to create a drop in replacement for the gstreamer-1.0-android-arm-debug-1.4.4 SDK that I downloaded earlier? Or would this available from nightly builds?</div><div><br></div><div>Thanks for all of your help.</div><div><br></div><div>Steve</div><div><br><div><div>On Feb 13, 2015, at 1:23 AM, Sebastian Dröge-3 [via GStreamer-devel] <<a href="/user/SendEmail.jtp?type=node&node=4670744&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Hi,<span class="Apple-converted-space"> </span><br><br>there's also a bug report about all this with further information here:<span class="Apple-converted-space"> </span><br><a href="https://bugzilla.gnome.org/show_bug.cgi?id=744442" target="_top" rel="nofollow" link="external">https://bugzilla.gnome.org/show_bug.cgi?id=744442</a><br><br>If you ask your questions in both places at once, make sure to say that<span class="Apple-converted-space"> </span><br>in both places to not have people waste their time on already solved<span class="Apple-converted-space"> </span><br>problems.<span class="Apple-converted-space"> </span><br><br>On Fr, 2015-02-13 at 09:24 +0100, Edward Hervey wrote:<div class="shrinkable-quote"><div class="shrinkable-quote"><div class='shrinkable-quote'><br>> Hi,<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>>   The clock is chosen and distributed by the pipeline in PAUSED to<span class="Apple-converted-space"> </span><br>> PLAYING.<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>>   In the case of the distributed playback use-cases, you will need to:<span class="Apple-converted-space"> </span><br>>   1) grab the clock in PLAYING on the server, and wrap it with the<span class="Apple-converted-space"> </span><br>> nettimeprovider<span class="Apple-converted-space"> </span><br>>   2) set the net client clock on the clients (you can do that in any<span class="Apple-converted-space"> </span><br>> state)<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>>     Edward<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> On Thu, 2015-02-12 at 10:13 -0800, svenyonson wrote:<span class="Apple-converted-space"> </span><br>> > I am trying to port the sample python code from <a href="http://noraisin.net" target="_top" rel="nofollow" link="external">noraisin.net</a> (synchronized<span class="Apple-converted-space"> </span><br>> > playback across machines) to Android devices. I have the tutorial 5 working,<span class="Apple-converted-space"> </span><br>> > and am now trying to integrate the relevant pieces from the python code:<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     // Create our own GLib Main Context and make it the default one<span class="Apple-converted-space"> </span><br>> >     data->context = g_main_context_new ();<span class="Apple-converted-space"> </span><br>> >     g_main_context_push_thread_default(data->context);<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     // Build pipeline<span class="Apple-converted-space"> </span><br>> >     data->pipeline = gst_parse_launch("playbin", &error);<span class="Apple-converted-space"> </span><br>> >     if (error) {<span class="Apple-converted-space"> </span><br>> >         gchar *message = g_strdup_printf("Unable to build pipeline: %s",<span class="Apple-converted-space"> </span><br>> > error->message);<span class="Apple-converted-space"> </span><br>> >         g_clear_error (&error);<span class="Apple-converted-space"> </span><br>> >         set_ui_message(message, data);<span class="Apple-converted-space"> </span><br>> >         g_free (message);<span class="Apple-converted-space"> </span><br>> >         return NULL;<span class="Apple-converted-space"> </span><br>> >     }<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     GstPipeline* pipeline = GST_PIPELINE_CAST(data->pipeline);<span class="Apple-converted-space"> </span><br>> >     GstElement* element = data->pipeline;<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     gchar* uri = "<a href="http://docs.gstreamer.com/media/sintel_trailer-368p.ogv" target="_top" rel="nofollow" link="external">http://docs.gstreamer.com/media/sintel_trailer-368p.ogv</a>";<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     g_object_set(data->pipeline, "uri", uri, NULL);<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     // Set the pipeline to READY, so it can already accept a window handle,<span class="Apple-converted-space"> </span><br>> > if we have one<span class="Apple-converted-space"> </span><br>> >     data->target_state = GST_STATE_READY;<span class="Apple-converted-space"> </span><br>> >     gst_element_set_state(data->pipeline, GST_STATE_READY);<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     // Add sync stuff from tutorial<span class="Apple-converted-space"> </span><br>> >     GstClock* clock = gst_element_get_clock(data->pipeline);<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> >     GST_DEBUG ("gst_element_get_clock... (GstClock:%p)", clock);<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> > When I run this code, clock is 0x0.<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> > --<span class="Apple-converted-space"> </span><br>> > View this message in context:<span class="Apple-converted-space"> </span><a href="http://gstreamer-devel.966125.n4.nabble.com/Unable-to-get-GstClock-from-GstElement-tp4670705.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Unable-to-get-GstClock-from-GstElement-tp4670705.html</a><br>> > Sent from the GStreamer-devel mailing list archive at <a href="http://Nabble.com" target="_top" rel="nofollow" link="external">Nabble.com</a>.<span class="Apple-converted-space"> </span><br>> > _______________________________________________<span class="Apple-converted-space"> </span><br>> > gstreamer-devel mailing list<span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><a href="x-msg://11/user/SendEmail.jtp?type=node&amp;node=4670718&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> _______________________________________________<span class="Apple-converted-space"> </span><br>> gstreamer-devel mailing list<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><a href="x-msg://11/user/SendEmail.jtp?type=node&amp;node=4670718&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></div>--<span class="Apple-converted-space"> </span></div>Sebastian Dröge, Centricular Ltd ·<span class="Apple-converted-space"> </span><a href="http://www.centricular.com/" target="_top" rel="nofollow" link="external">http://www.centricular.com</a><br><br>_______________________________________________<span class="Apple-converted-space"> </span><br>gstreamer-devel mailing list<span class="Apple-converted-space"> </span><br><a href="x-msg://11/user/SendEmail.jtp?type=node&amp;node=4670718&amp;i=2" target="_top" rel="nofollow" link="external">[hidden email]</a><span class="Apple-converted-space"> </span><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><div class="small"><br><img src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif"><span class="Apple-converted-space"> </span><strong>signature.asc</strong><span class="Apple-converted-space"> </span>(968 bytes)<span class="Apple-converted-space"> </span><a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4670718/0/signature.asc" target="_top" rel="nofollow" link="external">Download Attachment</a></div><br><br><hr noshade="noshade" size="1"><div style="color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: tahoma, geneva, helvetica, arial, sans-serif;"><div style="font-weight: bold;">If you reply to this email, your message will be added to the discussion below:</div><a href="http://gstreamer-devel.966125.n4.nabble.com/Unable-to-get-GstClock-from-GstElement-tp4670705p4670718.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Unable-to-get-GstClock-from-GstElement-tp4670705p4670718.html</a></div><div style="color: rgb(102, 102, 102); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; font-family: tahoma, geneva, helvetica, arial, sans-serif; margin-top: 0.4em; line-height: 1.5em;">To unsubscribe from Unable to get GstClock from GstElement,<span class="Apple-converted-space"> </span><a href="" target="_top" rel="nofollow" link="external">click here</a>.<br><a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 9px; line-height: normal; font-family: serif;" target="_top" link="external">NAML</a></div></div></blockquote></div><br></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Unable-to-get-GstClock-from-GstElement-tp4670705p4670744.html">Re: Unable to get GstClock from GstElement</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>