<!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>
&nbsp;-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,&nbsp; playback of MPEG-TS
streams (as recorded by pcHDTV).&nbsp; The attached&nbsp; 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(&amp;params, 0, sizeof(AVFormatParameters));
+
     memset(prvpkt, 0, 3);
 }
 
@@ -340,7 +342,7 @@
                     setLowBuffers();
                     m_parent-&gt;ForceVideoOutputType(kVideoOutput_XvMC);
                 }
-                else if (codec &amp;&amp; codec-&gt;id == CODEC_ID_MPEG2VIDEO_VIA)
+                else if (codec &amp;&amp; codec-&gt;id == CODEC_ID_MPEG2VIDEO_VIA)
                 {
                     enc-&gt;flags |= CODEC_FLAG_EMU_EDGE;
                     enc-&gt;get_buffer = get_avf_buffer_via;
@@ -376,6 +378,13 @@
                 audio_channels = enc-&gt;channels;
                 break;
             }
+            case CODEC_TYPE_DATA:
+            {
+                bitrate += enc-&gt;bit_rate;
+                // Otherwise ignore it
+                continue;
+                break;
+            }
             default:
             {
                 cerr &lt;&lt; "Unknown codec type: " &lt;&lt; enc-&gt;codec_type &lt;&lt; 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>