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); }
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); }
public void SendCommand(Gst.Video.NavigationCommand command) { gst_navigation_send_command(Handle, (int)command); }