AOUT += dummy
# Video output settings
-#VOUT += x11
+VOUT += x11
#VOUT += fb
#VOUT += ggi
#VOUT += glide
-# Not yet supported
#VOUT += gnome
+# Not yet supported
+#VOUT += mga
#VOUT += beos
#VOUT += dga
# Fallback method that should always work
#INTF += fb
#INTF += ggi
#INTF += glide
-# Not yet supported
#INTF += gnome
+# Not yet supported
+#INTF += mga
#INTF += beos
#INTF += dga
# Fallback method that should always work
@echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $<
+plugins/intf/intf_mga.so plugins/vout/vout_mga.so: %.so: %.c
+ @echo "compiling $*.so from $*.c"
+ @$(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $<
+
plugins/intf/intf_gnome.so: %.so: %.c
@echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) $(LCFLAGS) `gnome-config --libs --cflags gnomeui` -shared -o $@ $< plugins/intf/intf_gnome_callbacks.c plugins/intf/intf_gnome_interface.c plugins/intf/intf_gnome_support.c
while( i_index++ < i_rle_size )
{
/* skip the leading byte of a PES */
+ /* FIXME: this part definitely looks strange */
if ( !((i_index + 3) % i_pes_size) )
{
i_pes_count++;
/* 00 (force displaying) */
break;
/* FIXME: here we have to calculate dates. It's
- * around i_date * 1000000 / 83 but I don't know
- * how much exactly. Here are my findings :
- *
- * - 80 is too small ( Lain Deus, VTS_01_2.VOB )
- * -> 82 seems to be the minimum, 83 is fine.
- *
+ * around i_date * 10000 but I don't know
+ * how much exactly.
*/
case 0x01:
/* 01 (start displaying) */
- p_spu->begin_date += ( i_date * 1000000 / 83 );
+ p_spu->begin_date += ( i_date * 10000 );
break;
case 0x02:
/* 02 (stop displaying) */
- p_spu->end_date += ( i_date * 1000000 / 83 );
+ p_spu->end_date += ( i_date * 10000 );
break;
case 0x03:
/* 03xxxx (palette) */
/* Get and set rendering informations */
p_buffer = &p_vout->p_buffer[ p_vout->i_buffer_index ];
p_pic_data = p_buffer->p_data +
- p_buffer->i_pic_x * p_vout->i_bytes_per_pixel +
- p_buffer->i_pic_y * p_vout->i_bytes_per_line;
+ p_buffer->i_pic_x * p_vout->i_bytes_per_pixel +
+ p_buffer->i_pic_y * p_vout->i_bytes_per_line;
#ifdef DEBUG_VIDEO
render_time = mdate();
#endif
/*****************************************************************************
* RunThread: generic parser thread
*****************************************************************************
- * Video parser thread. This function does only returns when the thread is
+ * Video parser thread. This function only returns when the thread is
* terminated.
*****************************************************************************/
static void RunThread( vpar_thread_t *p_vpar )
0;Ptyx (caribou);20;caribou.via.ecp.fr;
1;Sam (bofh);20;bofh.via.ecp.fr;
2;Polux (dressler);20;dressler.via.ecp.fr;
+#3;File;10;/home/sam/videolan/flux/bandesannonce.vob;