projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab0fc84
)
Solved a problem with VideoWriter in the new wrapper
author
Alexander Reshetnikov
<no@email>
Sat, 31 Mar 2012 15:12:45 +0000
(15:12 +0000)
committer
Alexander Reshetnikov
<no@email>
Sat, 31 Mar 2012 15:12:45 +0000
(15:12 +0000)
modules/highgui/src/cap_ffmpeg_impl_v2.hpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap_ffmpeg_impl_v2.hpp
b/modules/highgui/src/cap_ffmpeg_impl_v2.hpp
index
8b618ce
..
82fd0b6
100755
(executable)
--- a/
modules/highgui/src/cap_ffmpeg_impl_v2.hpp
+++ b/
modules/highgui/src/cap_ffmpeg_impl_v2.hpp
@@
-1486,7
+1486,7
@@
bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc,
#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
if (url_fopen(&oc->pb, filename, URL_WRONLY) < 0)
#else
#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
if (url_fopen(&oc->pb, filename, URL_WRONLY) < 0)
#else
-
if (avio_open(&oc->pb, filename, 1
) < 0)
+
if (avio_open(&oc->pb, filename, AVIO_FLAG_WRITE
) < 0)
#endif
{
return false;
#endif
{
return false;