[MPlayer-dev-eng] question re real demuxer - dimensions

Arpi arpi at thot.banki.hu
Tue Feb 18 08:05:16 CET 2003


Hi,

> So it seems in rv30 streams after codec sub id + codec id the two bytes are 
> real width and height. Unfortunatelly sometimes it is not the correct width 
> height, and the only way to recognize this (atm) is to check what 
> rvyyuv_transform returns for decodec width & height. 
> I don't know whether it is possible to initialize vo etc. only than , ie. 
> after decoding the first frame. Is it possible? (or any pointer to how - i 
> will rtfsmb anyhow of course :) )

it's possible to init vo from decode() (after doing some frame header
parsing) but you have to init vo BEFORE any buffer allocation (get_buffer()).
see vd_mpng for example


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
    "However, many people beg for its inclusion in Debian. Why?" - Gabucino
  "Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino


More information about the MPlayer-dev-eng mailing list