• Home
  • Raw
  • Download

Lines Matching refs:window_id

103 gst_dshowvideosink_set_window_handle (GstVideoOverlay * overlay, guintptr window_id)  in gst_dshowvideosink_set_window_handle()  argument
107 HWND previous_window = sink->window_id; in gst_dshowvideosink_set_window_handle()
108 HWND videowindow = (HWND)window_id; in gst_dshowvideosink_set_window_handle()
110 if (videowindow == sink->window_id) { in gst_dshowvideosink_set_window_handle()
115 sink->window_id = videowindow; in gst_dshowvideosink_set_window_handle()
134 hres = sink->filter_media_event->SetNotifyWindow ((OAHWND)sink->window_id, WM_GRAPH_NOTIFY, 0); in gst_dshowvideosink_set_window_handle()
135 GST_DEBUG_OBJECT (sink, "SetNotifyWindow(%p) returned %x", sink->window_id, hres); in gst_dshowvideosink_set_window_handle()
253 sink->window_id = NULL; in gst_dshowvideosink_clear()
675 sink->window_id = video_window; in gst_dshowvideosink_window_thread()
742 WNDPROC prevWndProc = (WNDPROC)GetWindowLongPtr (sink->window_id, GWLP_WNDPROC); in gst_dshowvideosink_set_window_for_renderer()
750 …sink->prevWndProc = (WNDPROC) SetWindowLongPtr (sink->window_id, GWLP_WNDPROC, (LONG_PTR)WndProcHo… in gst_dshowvideosink_set_window_for_renderer()
752 SetProp (sink->window_id, (LPCSTR)"GstDShowVideoSink", sink); in gst_dshowvideosink_set_window_for_renderer()
754 …SetWindowPos (sink->window_id, 0, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECH… in gst_dshowvideosink_set_window_for_renderer()
756 if (!sink->renderersupport->SetRendererWindow (sink->window_id)) { in gst_dshowvideosink_set_window_for_renderer()
757 GST_WARNING_OBJECT (sink, "Failed to set HWND %x on renderer", sink->window_id); in gst_dshowvideosink_set_window_for_renderer()
765 GST_INFO_OBJECT (sink, "Set renderer window to %x", sink->window_id); in gst_dshowvideosink_set_window_for_renderer()
774 if (!sink->window_id) { in gst_dshowvideosink_prepare_window()
780 if (sink->window_id) { in gst_dshowvideosink_prepare_window()
799 hres = sink->filter_media_event->SetNotifyWindow ((OAHWND)sink->window_id, in gst_dshowvideosink_prepare_window()
801 GST_DEBUG_OBJECT (sink, "SetNotifyWindow(%p) returned %x", sink->window_id, hres); in gst_dshowvideosink_prepare_window()
941 if (sink->window_id) { in gst_dshowvideosink_stop_graph()
943 SetWindowLongPtr (sink->window_id, GWLP_WNDPROC, (LONG_PTR)sink->prevWndProc); in gst_dshowvideosink_stop_graph()
944 RemoveProp (sink->window_id, (LPCSTR)"GstDShowVideoSink"); in gst_dshowvideosink_stop_graph()
945 …SetWindowPos (sink->window_id, 0, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECH… in gst_dshowvideosink_stop_graph()
1593 SendMessage (sink->window_id, WM_CLOSE, NULL, NULL); in gst_dshowvideosink_stop()