[SCM] libav/experimental: Reinstate default time_base for rtp streams

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:20:26 UTC 2013


The following commit has been merged in the experimental branch:
commit a4a3bade0acd1276ad43850fb2371823bce970c6
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Wed Dec 15 17:16:37 2010 +0000

    Reinstate default time_base for rtp streams
    
    The generic default is 0/0 and that obviously triggers once the value is used.
    
    Originally committed as revision 26016 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 77b59a3..43002ca 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -393,6 +393,7 @@ RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *r
             return NULL;
         }
     } else {
+        av_set_pts_info(st, 32, 1, 90000);
         switch(st->codec->codec_id) {
         case CODEC_ID_MPEG1VIDEO:
         case CODEC_ID_MPEG2VIDEO:

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list