]> git.sesse.net Git - vlc/commitdiff
Fill out VCD information Media Info section when playing an entire VCD
authorRocky Bernstein <rocky@videolan.org>
Mon, 15 Mar 2004 00:03:56 +0000 (00:03 +0000)
committerRocky Bernstein <rocky@videolan.org>
Mon, 15 Mar 2004 00:03:56 +0000 (00:03 +0000)
or PBC is on.

modules/access/vcdx/access.c

index 79c5c85124f6a3f723949b64d92f0cf17525aa58..8fecd950910d9703d1a06b8a65c58ccc57afdb72 100644 (file)
@@ -1376,8 +1376,6 @@ VCDFixupPlayList( input_thread_t *p_input, thread_vcd_data_t *p_vcd,
       return -1;
     }
 
-  InformationCreate( p_input );
-
   if ( play_single_item ) 
     {
     /* May fill out more information when the playlist user interface becomes
@@ -1576,8 +1574,11 @@ E_(Open) ( vlc_object_t *p_this )
     p_vcd->p_intf->b_block = VLC_FALSE;
     intf_RunThread( p_vcd->p_intf );
 
+    InformationCreate( p_input );
+
     if (play_single_item)
-      VCDFixupPlayList( p_input, p_vcd, psz_source, &itemid, play_single_item );
+      VCDFixupPlayList( p_input, p_vcd, psz_source, &itemid, 
+                       play_single_item );
 
     free( psz_source );