[vlc-devel] commit: Removed check for p_sys->b_osd because it is not necessary. ( Jean-Paul Saman )

git version control git at videolan.org
Sat May 31 15:31:47 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Sat May 31 15:31:01 2008 +0200| [498c3f39debd343d190f511fc2f5143d72bb7841]

Removed check for p_sys->b_osd because it is not necessary.

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

 modules/stream_out/transcode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index 5fcf030..ad9c6ea 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -2983,7 +2983,7 @@ static void transcode_osd_close( sout_stream_t *p_stream, sout_stream_id_t *id)
     sout_stream_sys_t *p_sys = p_stream->p_sys;
 
     /* Close encoder */
-    if( p_sys->b_osd && id )
+    if( id )
     {
         if( id->p_encoder->p_module )
             module_Unneed( id->p_encoder, id->p_encoder->p_module );




More information about the vlc-devel mailing list