<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Just as an aside: can somebody explain to me what the different
playback types are for? I have a PVR-250 and the setting I use works
but when I see the other list of options I just wonder what they're for
:-)<br>
<br>
Cheers,<br>
-Tako<br>
<br>
<br>
Doug Larrick wrote:<br>
<blockquote type="cite"
cite="mid20031113023209.GA1814@deckard.doug.ties.org">As predicted,
the recent ffmpeg merge broke something -- namely, playback of MPEG-TS
streams (as recorded by pcHDTV). The attached patch fixes it.
<br>
<br>
-Do<br>
ug<br>
<pre wrap="">
<hr width="90%" size="4">
Index: avformatdecoder.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/avformatdecoder.cpp,v
retrieving revision 1.63
diff -u -r1.63 avformatdecoder.cpp
--- avformatdecoder.cpp        12 Nov 2003 06:13:41 -0000        1.63
+++ avformatdecoder.cpp        13 Nov 2003 02:30:11 -0000
@@ -51,6 +51,8 @@
lastKey = 0;
+ memset(&params, 0, sizeof(AVFormatParameters));
+
memset(prvpkt, 0, 3);
}
@@ -340,7 +342,7 @@
setLowBuffers();
m_parent->ForceVideoOutputType(kVideoOutput_XvMC);
}
-                else if (codec && codec->id == CODEC_ID_MPEG2VIDEO_VIA)
+ else if (codec && codec->id == CODEC_ID_MPEG2VIDEO_VIA)
{
enc->flags |= CODEC_FLAG_EMU_EDGE;
enc->get_buffer = get_avf_buffer_via;
@@ -376,6 +378,13 @@
audio_channels = enc->channels;
break;
}
+ case CODEC_TYPE_DATA:
+ {
+ bitrate += enc->bit_rate;
+ // Otherwise ignore it
+ continue;
+ break;
+ }
default:
{
cerr << "Unknown codec type: " << enc->codec_type << endl;
</pre>
<pre wrap="">
<hr width="90%" size="4">
_______________________________________________
mythtv-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a>
</pre>
</blockquote>
</body>
</html>