[MPlayer-dev-eng] How to extract demux_packets?
nsabbi at libero.it
Wed Aug 27 10:12:09 CEST 2003
I have two demuxers: master and slave.
What I'm trying to do is to extract the slave's first packet (of a ds)
and to push it in the master's ds.
Actually I'm doing something like :
dp = clone_demux_packet(slave->video->current);
// should I free_demux_packet(dp) ?
and it's somewhat working (-dumpvideo shows what I expect) but
1) I'm not sure it's the best/cleanest way to go
2) it's slower than I want because I has to clone every packet
Can anyone suggest a better way?
Is it possible to force slave to ds_add_packet() in master->video ?
More information about the MPlayer-dev-eng