[vlc-devel] commit: Revert "prevent #1312 from occuring (refs #1312)" ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Mar 29 09:39:13 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat Mar 29 10:37:22 2008 +0200| [864ca35c1d2eb42ba10d8d993470edf7be1da25d]

Revert "prevent #1312 from occuring (refs #1312)"

This reverts commit 69d572ca8a6bc6f9de85ed471fbb30e430fb0fe2.
It's not an issue with sout-keep alone. The issue shows up if using
both sout-keep and #gather, and there is no easy way for a stream
object to know what its upstream stream (if any) is. Hence, let users
shoot themselves in the feet if they want, and otherwise assume that
people don't use #gather _in_front_ of #display.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=864ca35c1d2eb42ba10d8d993470edf7be1da25d
---

 modules/stream_out/display.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/modules/stream_out/display.c b/modules/stream_out/display.c
index 75082ac..009f984 100644
--- a/modules/stream_out/display.c
+++ b/modules/stream_out/display.c
@@ -96,13 +96,6 @@ static int Open( vlc_object_t *p_this )
     sout_stream_t     *p_stream = (sout_stream_t*)p_this;
     sout_stream_sys_t *p_sys;
 
-    /* FIXME: this sucks big time (see #1312) */
-    if( var_CreateGetBool( p_stream, "sout-keep" ) )
-    {
-        msg_Err( p_stream, "cannot use #display sout with sout-keep option" );
-        return VLC_EGENERIC;
-    }
-
     p_sys = malloc( sizeof( sout_stream_sys_t ) );
     if( p_sys == NULL )
         return VLC_ENOMEM;




More information about the vlc-devel mailing list