[MPlayer-dev-eng] Broken vf_lavc and dvb-out playback. Possibly wrong pts asignment

Nico Sabbi nicola.sabbi at poste.it
Sun Jan 8 08:52:42 CET 2012


DVB out is totally broken unless you can use MPEG12 pass-through.
Re-encoding on the fly with vf_lavc floods the screen with

A:   0.9 V:-9223372036854775808.0 A-V:  0.000 ct:  0.104   0/  0 12% 
39%  2.0% 0 0
pts after filters MISSING

and doesn't show anything on the display. This functionality must have 
been broken for years.

In put_image() the pts is discarded, in its place MP_NOPTS_VALUE is 
propagated to the next
filter, that -as far as I remember- is wrong.

Please, consider the next patch. It's working  correctly.
AH, btw I think I forgot my passwod :-) so if it's the case apply it.

Index: libmpcodecs/vf_lavc.c
===================================================================
--- libmpcodecs/vf_lavc.c    (revisione 34526)
+++ libmpcodecs/vf_lavc.c    (copia locale)
@@ -115,7 +115,7 @@

      dmpi->planes[0]=(unsigned char*)&vf->priv->pes;

-    return vf_next_put_image(vf,dmpi, MP_NOPTS_VALUE);
+    return vf_next_put_image(vf,dmpi, pts);
  }

  //===========================================================================//



More information about the MPlayer-dev-eng mailing list