german-hd-channel.patch

Ask for new features here.

Moderator: Pablo

Post Reply
tob
New Member
Posts: 9
Joined: Wed Jan 20, 2010 4:57 pm

german-hd-channel.patch

Post by tob » Thu Feb 18, 2010 9:53 am

It would be nice if you could include this patch for mythtv. This patch is from the ticket: http://svn.mythtv.org/trac/ticket/7481
I'm using this patch several months now and have seen no issues with it. I don't know why no one of the devs cares to apply this to mythtv....
but without the patch mythtv is virtually useless for german users since the public channels are now all switching to HD transmission...

Code: Select all

--- mythtv-trunk-23440-old/libs/libavformat/utils.c     2010-02-02 09:04:58.000000000 +0100
+++ mythtv-trunk-23440-new/libs/libavformat/utils.c     2010-02-18 09:31:48.202816174 +0100
@@ -800,7 +800,7 @@
     int num, den, presentation_delayed, delay, i;
     int64_t offset;
 
-    if (pc && pc->pict_type == FF_B_TYPE)
+    if (st->codec->codec_id != CODEC_ID_H264 && pc && pc->pict_type == FF_B_TYPE) 
         st->codec->has_b_frames = 1;
 
     /* do we have a video B-frame ? */

thx tob

tob
New Member
Posts: 9
Joined: Wed Jan 20, 2010 4:57 pm

Re: german-hd-channel.patch

Post by tob » Thu Feb 18, 2010 10:25 am

never mind. It's already in applied to trunk. I just missed the change...

Post Reply