[vlc-devel] Accessing the demux Control at the interface level ? (re: RTSP trickplay)

Laurent Aimar fenrir at via.ecp.fr
Thu Dec 13 19:41:12 CET 2007


On Tue, Dec 11, 2007, Laurent Aimar wrote:
> On Wed, Dec 05, 2007, Glen Gray wrote:
> > Patches where posted on 21st November.
>  I have reworked the ff/sf part to integrate it in the normal code path.
> 
>  I have commited the live555.cpp part (except rewind) but I let it commented
> out. Could you uncomment it and test it ? (I failed to compil vlc with
> live555 support under linux x86_64)

 I did not commit that part as it wasn't part of rate control:

@@ -1247,9 +1263,13 @@
 
         case DEMUX_SET_PAUSE_STATE:
         {
-            double d_npt = (double) p_sys->i_npt / I64C(1000000);
+            double d_npt;
             int i;
 
+            d_npt = 0.0;
+            if( var_CreateGetBool( p_demux, "rtsp-kasenna" ) == VLC_FALSE )
+                d_npt = (double) p_sys->i_npt / I64C(1000000);
+
             b_bool = (vlc_bool_t)va_arg( args, vlc_bool_t );
             if( p_sys->rtsp == NULL )
                 return VLC_EGENERIC;

What is it for ?

-- 
fenrir



More information about the vlc-devel mailing list