Mercurial > mplayer.hg
comparison libmpdemux/demux_lavf.c @ 32492:5fc287bf541a
Print PROGRAM_ID -identify output similar to demux_ts
author | reimar |
---|---|
date | Sat, 06 Nov 2010 14:41:23 +0000 |
parents | 90206ba16fec |
children | 59b6fef90241 |
comparison
equal
deleted
inserted
replaced
32491:90206ba16fec | 32492:5fc287bf541a |
---|---|
561 int p; | 561 int p; |
562 for (p = 0; p < avfc->nb_programs; p++) { | 562 for (p = 0; p < avfc->nb_programs; p++) { |
563 AVProgram *program = avfc->programs[p]; | 563 AVProgram *program = avfc->programs[p]; |
564 t = av_metadata_get(program->metadata, "title", NULL, 0); | 564 t = av_metadata_get(program->metadata, "title", NULL, 0); |
565 mp_msg(MSGT_HEADER,MSGL_INFO,"LAVF: Program %d %s\n", program->id, t ? t->value : ""); | 565 mp_msg(MSGT_HEADER,MSGL_INFO,"LAVF: Program %d %s\n", program->id, t ? t->value : ""); |
566 mp_msg(MSGT_IDENTIFY, MSGL_V, "PROGRAM_ID=%d\n", program->id); | |
566 } | 567 } |
567 } | 568 } |
568 | 569 |
569 mp_msg(MSGT_HEADER,MSGL_V,"LAVF: %d audio and %d video streams found\n",priv->audio_streams,priv->video_streams); | 570 mp_msg(MSGT_HEADER,MSGL_V,"LAVF: %d audio and %d video streams found\n",priv->audio_streams,priv->video_streams); |
570 mp_msg(MSGT_HEADER,MSGL_V,"LAVF: build %d\n", LIBAVFORMAT_BUILD); | 571 mp_msg(MSGT_HEADER,MSGL_V,"LAVF: build %d\n", LIBAVFORMAT_BUILD); |