How to detect that current chapter is DVD menu
Nathanael D. Noblet
nathanael at gnat.ca
Tue Aug 9 19:45:59 PDT 2011
On 08/09/2011 08:57 AM, 4ernov wrote:
> Hello,
>
> I faced a problem with DVD menu detection. I have a video application
> based on GStreamer that resizes to fullscreen on no user activity and
> returns to normal view on mouse click. But in DVD menu there's a
> problem: the application shouldn't return to normal view when user
> clicks some item of menu but it returns. I just don't know whether
> it's DVD menu chapter or normal video chapter.
>
> So, the question is: is there any way to know that current chapter is
> DVD menu or not DVD menu? I.e. a chapter that receives user input or
> not.
>
> Any help is appreciated.
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...
>
> Alexey Chernov
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list