[Libreoffice-commits] core.git: avmedia/source
Minh Ngo
nlminhtl at gmail.com
Sat Sep 14 09:34:01 PDT 2013
avmedia/source/vlc/vlcframegrabber.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 60486dda6be30ad0173feb06595f8de42d0efa16
Author: Minh Ngo <nlminhtl at gmail.com>
Date: Sat Sep 14 19:32:52 2013 +0300
Print debug strings by SAL_WARN
Change-Id: Ie2406d569c8fb1532eb2f3014d8383d87a216c01
diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx
index ea05f76..e71d03b 100644
--- a/avmedia/source/vlc/vlcframegrabber.cxx
+++ b/avmedia/source/vlc/vlcframegrabber.cxx
@@ -56,7 +56,7 @@ VLCFrameGrabber::VLCFrameGrabber( VLC::EventHandler& eh, const rtl::OUString& ur
if ( !mPlayer.play() )
{
- std::cerr << "Couldn't play when trying to grab frame" << std::endl;
+ SAL_WARN("avmedia", "Couldn't play when trying to grab frame");
return ::uno::Reference< css::graphic::XGraphic >();
}
@@ -68,7 +68,7 @@ VLCFrameGrabber::VLCFrameGrabber( VLC::EventHandler& eh, const rtl::OUString& ur
if ( !mPlayer.hasVout() )
{
- std::cerr << "Couldn't grab frame" << std::endl;
+ SAL_WARN("avmedia", "Couldn't grab frame");
manager.onPaused();
return ::uno::Reference< css::graphic::XGraphic >();
}
More information about the Libreoffice-commits
mailing list