diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-11-03 01:21:30 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-11-03 01:21:30 +0100 |
commit | 3b606130ead038b4d5bc1b88bfd6e7430adacc4d (patch) | |
tree | 1a883bb36ada9f650f441f5c7fde4171f4afc81c /command/streaminfo.cpp | |
parent | 7e2fb0f884b2269c32cb42867346ec3917c7e480 (diff) | |
download | vdr-plugin-markad-3b606130ead038b4d5bc1b88bfd6e7430adacc4d.tar.gz vdr-plugin-markad-3b606130ead038b4d5bc1b88bfd6e7430adacc4d.tar.bz2 |
Got rid of iframetime, better broadcast start detection, dont change atime/mtime of info file anymore
Diffstat (limited to 'command/streaminfo.cpp')
-rw-r--r-- | command/streaminfo.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/command/streaminfo.cpp b/command/streaminfo.cpp index 94a044e..f12a6b8 100644 --- a/command/streaminfo.cpp +++ b/command/streaminfo.cpp @@ -10,16 +10,6 @@ #include "streaminfo.h" -cMarkAdStreamInfo::cMarkAdStreamInfo() -{ - Clear(); -} - -void cMarkAdStreamInfo::Clear() -{ - H264skiptoggle=false; -} - bool cMarkAdStreamInfo::FindAC3AudioInfos(MarkAdContext *maContext, uchar *espkt, int eslen) { #pragma pack(1) @@ -139,19 +129,6 @@ bool cMarkAdStreamInfo::FindH264VideoInfos(MarkAdContext *maContext, uchar *pkt, { maContext->Video.Info.Pict_Type=0; } - if (!maContext->Video.Info.Interlaced) - { - // this is very crude, drop every second "frame" - if (H264skiptoggle) - { - H264skiptoggle=false; - return false; - } - else - { - H264skiptoggle=true; - } - } return true; } @@ -275,7 +252,7 @@ bool cMarkAdStreamInfo::FindH264VideoInfos(MarkAdContext *maContext, uchar *pkt, if (num_units_in_tick > 0) { frame_rate = time_scale / (2*num_units_in_tick); - if (frame_mbs_only_flag) frame_rate/=2; + //if (frame_mbs_only_flag) frame_rate/=2; } bs.skipBit(); // fixed_frame_rate_flag } |