]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sun, 27 Nov 2011 20:39:51 +0000 (20:39 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sun, 27 Nov 2011 20:39:51 +0000 (20:39 +0000)
modules/ffmpeg/producer/ffmpeg_producer.cpp

index dd0542aa89aea8907de387166951e8282787ffff..88914ac28d4c936f36ae46c14d778ac36ee11e0b 100644 (file)
@@ -221,7 +221,7 @@ public:
                        return L"ffmpeg[" + boost::filesystem::wpath(filename_).filename() + L"|" \r
                                                          + boost::lexical_cast<std::wstring>(video_decoder_->width()) + L"x" + boost::lexical_cast<std::wstring>(video_decoder_->height())\r
                                                          + (video_decoder_->is_progressive() ? L"p" : L"i")  + boost::lexical_cast<std::wstring>(video_decoder_->is_progressive() ? video_decoder_->fps() : 2.0 * video_decoder_->fps())\r
-                                                         + L"|" + boost::lexical_cast<std::wstring>(file_nb_frames()) + L"]";\r
+                                                         + L"|" + boost::lexical_cast<std::wstring>(file_frame_number()) + L"/" + boost::lexical_cast<std::wstring>(file_nb_frames()) + L"]";\r
                }\r
                \r
                return L"ffmpeg[" + boost::filesystem::wpath(filename_).filename() + L"]";\r