]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
H264 parser: improve comment for last parser change
authorJaroslav Kysela <perex@perex.cz>
Wed, 18 Nov 2015 13:11:35 +0000 (14:11 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 18 Nov 2015 13:11:40 +0000 (14:11 +0100)
src/parsers/parser_h264.c

index f319624f9d1825ff83f7da08d070ef84c0409022..4318d8aee93f95787ee0894d0adc31b6cd6b4c2f 100644 (file)
@@ -429,7 +429,7 @@ h264_decode_slice_header(elementary_stream_t *st, bitstream_t *bs, int *pkttype,
     d = 180000 * (uint64_t)sps->units_in_tick / (uint64_t)sps->time_scale;
   if (d == 0 && st->es_frame_duration == 0 && p->start + 4 < dispatch_clock) {
     tvhwarn("parser", "H264 stream has not timing information, using 30fps");
-    d = 3000; /* 30fps */
+    d = 3000; /* 90000/30 = 3000 : 30fps */
   }
 
   if (sps->cbpsize)