コード例 #1
0
        public static bool QueryParseCommandsNth(Gst.Query query, uint nth, out Gst.Video.NavigationCommand cmd)
        {
            int  native_cmd;
            bool raw_ret = gst_navigation_query_parse_commands_nth(query == null ? IntPtr.Zero : query.Handle, nth, out native_cmd);
            bool ret     = raw_ret;

            cmd = (Gst.Video.NavigationCommand)native_cmd;
            return(ret);
        }
コード例 #2
0
        public static bool EventParseCommand(Gst.Event evnt, out Gst.Video.NavigationCommand command)
        {
            int  native_command;
            bool raw_ret = gst_navigation_event_parse_command(evnt == null ? IntPtr.Zero : evnt.Handle, out native_command);
            bool ret     = raw_ret;

            command = (Gst.Video.NavigationCommand)native_command;
            return(ret);
        }
コード例 #3
0
 public void SendCommand(Gst.Video.NavigationCommand command)
 {
     gst_navigation_send_command(Handle, (int)command);
 }