[vlc-devel] commit: Fix meta writing (inverted logic in the core). ( Rémi Duraffort )

git version control git at videolan.org
Mon Dec 7 09:26:29 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec  7 09:25:16 2009 +0100| [6e2213ec9e713135f7bdf918f96355d3aeb76a59] | committer: Rémi Duraffort 

Fix meta writing (inverted logic in the core).

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

 src/input/meta.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/meta.c b/src/input/meta.c
index 77dfae3..e5fa774 100644
--- a/src/input/meta.c
+++ b/src/input/meta.c
@@ -145,7 +145,7 @@ int input_item_WriteMeta( vlc_object_t *obj, input_item_t *p_item )
     vlc_mutex_lock( &p_item->lock );
     type = p_item->i_type;
     vlc_mutex_unlock( &p_item->lock );
-    if( type != ITEM_TYPE_FILE )
+    if( type == ITEM_TYPE_FILE )
     {
         char *psz_uri = input_item_GetURI( p_item );
 




More information about the vlc-devel mailing list