<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">On 08/09/2011 08:57 AM, 4ernov wrote:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
Hello,<br><br> I faced a problem with DVD menu detection. I have a video application<br> based on GStreamer that resizes to fullscreen on no user activity and<br> returns to normal view on mouse click. But in DVD menu there's a<br>
problem: the application shouldn't return to normal view when user<br> clicks some item of menu but it returns. I just don't know whether<br> it's DVD menu chapter or normal video chapter.<br><br> So, the question is: is there any way to know that current chapter is<br>
DVD menu or not DVD menu? I.e. a chapter that receives user input or<br> not.<br><br> Any help is appreciated.<br></blockquote><br><br>I have *no* idea if its possible to detect if you are in a menu. However with that in mind, I would imagine that menu's have short durations and some other pieces (like looping playback) that when loaded you could set a flag in your app. if ( duration < 1 minute)... then... etc...<br>
</blockquote><div><br>Thanks for this good suggestions, Nathanael, I thought around this idea. But now there's another problem: is it possible to detect looping chapter somehow? I think it's most significant detail because duration can be quite big (I just found 1:35 menu with some video).<br>
</div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<br></blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><br></blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
Alexey Chernov<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">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></blockquote>