[vlc-devel] commit: Check itemtype if uri is changed (Ilkka Ollakka )

git version control git at videolan.org
Wed Dec 17 22:20:23 CET 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Dec 17 23:15:03 2008 +0200| [fe548fa0b0215eaefe1afc6313ce4d75af46a94e] | committer: Ilkka Ollakka 

Check itemtype if uri is changed

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

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

diff --git a/src/input/item.c b/src/input/item.c
index 58b9e72..ef1c673 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -337,6 +337,7 @@ void input_item_SetURI( input_item_t *p_i, char *psz_uri )
 
     free( p_i->psz_uri );
     p_i->psz_uri = strdup( psz_uri );
+    GuessType( p_i );
 
     vlc_mutex_unlock( &p_i->lock );
 }




More information about the vlc-devel mailing list