Commit bc1d91a8 authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Don't add output to previewstream on ios

parent fa4c30aa
......@@ -690,9 +690,11 @@ void video_stream_set_native_window_id(VideoStream *stream, unsigned long id){
void video_stream_set_native_preview_window_id(VideoStream *stream, unsigned long id){
stream->preview_window_id=id;
#ifndef __ios
if (stream->output2){
ms_filter_call_method(stream->output2,MS_VIDEO_DISPLAY_SET_NATIVE_WINDOW_ID,&id);
}
#endif
if (stream->source){
ms_filter_call_method(stream->source,MS_VIDEO_DISPLAY_SET_NATIVE_WINDOW_ID,&id);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment