Hi!

Sven Over wrote:
> Am Monday 04 September 2006 08:19 schrieb Michael Riepe:
> 
>>Philippe Lebon wrote:
>>
>>>Hi,
>>>
>>>I had some problems to compile dvcut 0.5.3 (0.5.1 and 0.5.2 did the same)
>>>on slackware current. After a quick investigation, it seems that if libao
>>>is not detected (libao was not detected because pkgconfig/libao.pc was
>>>missing - this is my very big fault) this cause a compiling error in
>>>dvdcut.cpp line 121 & 122 :
>>>src/dvbcut.cpp:121: error: `Play' undeclared (first use this function)
>>>as HAVE_LIB_AO is undefined.
>>
>>I guess that was supposed to be `playMenu'. Sven?
> 
> 
> Indeed. Replace 'Play' by 'playMenu' in both lines, and it compiles fine. 
> Obviously, there was a lack of testing with libao not installed.

Okay... that will become part of patch 12. Also included is an
improvement for sequence number handling that fixes another ProSieben
stream problem: They sometimes reset the sequence number although there
was no sequence header or I frame.

-- 
Michael "Tired" Riepe <[EMAIL PROTECTED]>
X-Tired: Each morning I get up I die a little
Index: dvbcut/src/dvbcut.cpp
===================================================================
RCS file: /var/cvs/sys/qt3/dvbcut/src/dvbcut.cpp,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 dvbcut.cpp
--- dvbcut/src/dvbcut.cpp       16 Dec 2005 19:14:04 -0000      1.1.1.4
+++ dvbcut/src/dvbcut.cpp       4 Sep 2006 17:28:02 -0000
@@ -118,8 +118,8 @@
   playAudio2Action->setEnabled(false);
   playAudio1Action->removeFrom(playToolbar);
   playAudio2Action->removeFrom(playToolbar);
-  playAudio1Action->removeFrom(Play);
-  playAudio2Action->removeFrom(Play);
+  playAudio1Action->removeFrom(playMenu);
+  playAudio2Action->removeFrom(playMenu);
 #endif // ! HAVE_LIB_AO
 
   audiotrackpopup=new QPopupMenu(this);
Index: dvbcut/src/index.cpp
===================================================================
RCS file: /var/cvs/sys/qt3/dvbcut/src/index.cpp,v
retrieving revision 1.4
diff -u -r1.4 index.cpp
--- dvbcut/src/index.cpp        2 Sep 2006 19:25:16 -0000       1.4
+++ dvbcut/src/index.cpp        3 Sep 2006 17:22:40 -0000
@@ -226,7 +226,10 @@
            fprintf(stderr,
              "missing frame(s) before B frame %d (%d != %d)\n",
              pictures, seqnr, last_seqnr + 1);
-           if (last_non_b_pic >= 0) {
+           if (seqnr == 0) {
+             fprintf(stderr, "sequence number reset at %d\n", last_seqnr + 1);
+             }
+           else if (last_non_b_pic >= 0) {
              p[last_non_b_pic].setsequencenumber(++maxseqnr);
              last_non_b_pic = -1;
              }
@@ -248,6 +251,8 @@
              }
            last_non_b_pic = pictures;
            last_non_b_seqnr = seqnr;
+           if (frametype == IDX_PICTYPE_I)
+             last_seqnr = -1;
          }
 
        ++pictures;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to