Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv7537

Modified Files:
        video-oct.patch 
Log Message:
Use correct video-oct.patch

Index: video-oct.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/video-oct.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- video-oct.patch     3 Oct 2011 18:05:25 -0000       1.1
+++ video-oct.patch     3 Oct 2011 18:13:02 -0000       1.2
@@ -1,6 +1,6 @@
 diff -Nurd video-1.0.2/src/AVHandler.cc video-1.0.2.patched/src/AVHandler.cc
 --- video-1.0.2/src/AVHandler.cc       2009-05-08 09:17:36.000000000 -0400
-+++ video-1.0.2.patched/src/AVHandler.cc       2011-10-02 20:23:21.000000000 
-0400
++++ video-1.0.2.patched/src/AVHandler.cc       2011-10-02 20:50:50.000000000 
-0400
 @@ -42,6 +42,8 @@
  #endif
  
@@ -45,16 +45,20 @@
  
      // Flush stream buffers after seek
      avcodec_flush_buffers(cc);
-@@ -331,7 +333,7 @@
+@@ -331,7 +333,11 @@
  
        // Decode the packet into a frame
        int frameFinished;
 -      if (avcodec_decode_video(cc, frame, &frameFinished, packet.data, 
packet.size) < 0) {
-+      if (avcodec_decode_video2(cc, frame, &frameFinished, packet.data, 
packet.size) < 0) {
++
++    // HACK for CorePNG to decode as normal PNG by default
++    packet.flags = PKT_FLAG_KEY;
++      
++      if (avcodec_decode_video2(cc, frame, &frameFinished, &packet) < 0) {
            (*out) << "AVHandler: Error decoding video stream" << std::endl;
            av_free_packet(&packet);
            av_free(frame); frame = NULL;
-@@ -342,7 +344,7 @@
+@@ -342,7 +348,7 @@
            current_timestamp = (uint64_t)(vstream->cur_dts * AV_TIME_BASE * 
(long double)stream_time_base);
        }
      }


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to