[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libmedia/ffmpeg/VideoDecoderFfm...
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] gnash ChangeLog libmedia/ffmpeg/VideoDecoderFfm... |
Date: |
Wed, 14 May 2008 00:01:37 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Bastiaan Jacques <bjacques> 08/05/14 00:01:36
Modified files:
. : ChangeLog
libmedia/ffmpeg: VideoDecoderFfmpeg.cpp
Log message:
Don't neglect to return the decoded video frame.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6595&r2=1.6596
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6595
retrieving revision 1.6596
diff -u -b -r1.6595 -r1.6596
--- ChangeLog 13 May 2008 15:07:41 -0000 1.6595
+++ ChangeLog 14 May 2008 00:01:34 -0000 1.6596
@@ -1,3 +1,8 @@
+2008-05-13 Bastiaan Jacques <address@hidden>
+
+ * libmedia/ffmpeg/VideoDecoderFfmpeg.cpp: Don't neglect to return the
+ decoded frame.
+
2008-05-13 Benjamin Wolsey <address@hidden>
* pythonmodule/pyGnash.cpp, pythonmodule/gnashpython.{cpp,h}: make
Index: libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 12 Mar 2008 11:18:51 -0000
1.7
+++ libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 14 May 2008 00:01:35 -0000
1.8
@@ -193,12 +193,10 @@
{
std::auto_ptr<image::rgb> ret;
- std::for_each(_video_frames.begin(), _video_frames.end(),
boost::bind(&gnash::media::VideoDecoderFfmpeg::decode, this, _1));
-#if 0
- BOOST_FOREACH(const EncodedVideoFrame* frame, _video_frames) {
- ret = decode(frame->data(), frame->dataSize());
+ for (std::vector<const EncodedVideoFrame*>::iterator it =
+ _video_frames.begin(), end = _video_frames.end(); it != end; ++it) {
+ ret = decode((*it)->data(), (*it)->dataSize());
}
-#endif
_video_frames.clear();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog libmedia/ffmpeg/VideoDecoderFfm...,
Bastiaan Jacques <=