[vlc-devel] commit: sout_bridge: use var_(Get|Set)Address. ( Rémi Duraffort )

Rafaël Carré rafael.carre at gmail.com
Tue Nov 3 05:55:45 CET 2009


On Thu, 15 Oct 2009 15:04:26 +0200 (CEST)
git at videolan.org (git version control) wrote:

> vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Oct
> 15 15:04:42 2009 +0200| [7c790ca245f071333d086e7a602bb9efdda0140d] |
> committer: Rémi Duraffort 
> 
> sout_bridge: use var_(Get|Set)Address.

> -    if( var_Get( p_object->p_libvlc, psz_name, &val ) )
...
> -    p_bridge = GetBridge( p_stream, p_sys->psz_name );

Here we get the variable from libvlc object (global to all
bridge-out/bridge-in instances)

> +    p_bridge = var_GetAddress( p_stream, p_sys->psz_name );

And here from p_stream object (local to this particular instance)

So you pretty much broke bridge module

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091103/b17bdc86/attachment.sig>


More information about the vlc-devel mailing list