diff options
author | phintuka <phintuka> | 2006-09-06 12:27:17 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-09-06 12:27:17 +0000 |
commit | 1ffd370a8f372a39ebe781bf3b61cb4364a46913 (patch) | |
tree | c2a901be3f2217bda2d2ddad5cdb822142d3671a | |
parent | c62f5fac0f5ba969cec5557e76ce4f6fa6f51370 (diff) | |
download | xineliboutput-1ffd370a8f372a39ebe781bf3b61cb4364a46913.tar.gz xineliboutput-1ffd370a8f372a39ebe781bf3b61cb4364a46913.tar.bz2 |
Don't wire mosaico to only one stream
-rw-r--r-- | xine/post.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xine/post.c b/xine/post.c index b8e4a5ca..d982bdd4 100644 --- a/xine/post.c +++ b/xine/post.c @@ -452,9 +452,11 @@ static void _vpplugin_rewire_from_post_elements(fe_t *fe, post_element_t **post_ } if(fe->post_pip_enable && - !strcmp(post_elements[0]->name, "mosaico")) { + !strcmp(post_elements[0]->name, "mosaico") && + fe->pip_stream) { vo_source = xine_get_video_source(fe->pip_stream); - xine_post_wire_video_port(vo_source, + LOGDBG(" wiring %10s[out] -> [in1]%-10s ", "pip stream", post_elements[0]->name); + xine_post_wire_video_port(vo_source, post_elements[0]->post->video_input[1]); } |