On Thu, Apr 14, 2011 at 01:32:45PM +0200, Luca Barbato wrote:
> ---
>  ffplay.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/ffplay.c b/ffplay.c
> index bd8a985..5b235e3 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -2585,9 +2585,12 @@ static int decode_thread(void *arg)
>              packet_queue_put(&is->audioq, pkt);
>          } else if (pkt->stream_index == is->video_stream && 
> pkt_in_play_range) {
>              packet_queue_put(&is->videoq, pkt);
> +            av_log(ic, AV_LOG_INFO, "pts %"PRId64" video\n", pkt->pts);
>          } else if (pkt->stream_index == is->subtitle_stream && 
> pkt_in_play_range) {
>              packet_queue_put(&is->subtitleq, pkt);
>          } else {
> +            av_log(ic, AV_LOG_INFO, "pts %"PRId64" data %s\n",
> +                       pkt->pts, pkt->data);
>              av_free_packet(pkt);
>          }
>      }
> -- 

looks ok
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to