diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/vtk/ffmpeg-0.11.diff | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/vtk/ffmpeg-0.11.diff')
-rw-r--r-- | community/vtk/ffmpeg-0.11.diff | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/community/vtk/ffmpeg-0.11.diff b/community/vtk/ffmpeg-0.11.diff deleted file mode 100644 index af4e230cc..000000000 --- a/community/vtk/ffmpeg-0.11.diff +++ /dev/null @@ -1,46 +0,0 @@ ---- VTK/IO/vtkFFMPEGWriter.cxx.orig 2012-07-08 13:40:55.000000000 +0200 -+++ VTK/IO/vtkFFMPEGWriter.cxx 2012-07-08 13:59:37.000000000 +0200 -@@ -192,13 +192,6 @@ - c->bit_rate_tolerance = this->Writer->GetBitRateTolerance(); - } - -- //apply the chosen parameters -- if (av_set_parameters(this->avFormatContext, NULL) < 0) -- { -- vtkGenericWarningMacro (<< "Invalid output format parameters." ); -- return 0; -- } -- - //manufacture a codec with the chosen parameters - AVCodec *codec = avcodec_find_encoder(c->codec_id); - if (!codec) -@@ -259,14 +252,14 @@ - - - //Finally, open the file and start it off. -- if (url_fopen(&this->avFormatContext->pb, this->avFormatContext->filename, URL_WRONLY) < 0) -+ if (avio_open(&this->avFormatContext->pb, this->avFormatContext->filename, AVIO_FLAG_WRITE) < 0) - { - vtkGenericWarningMacro (<< "Could not open " << this->Writer->GetFileName() << "." ); - return 0; - } - this->openedFile = 1; - -- av_write_header(this->avFormatContext); -+ avformat_write_header(this->avFormatContext, NULL); - return 1; - } - -@@ -388,11 +381,7 @@ - if (this->openedFile) - { - av_write_trailer(this->avFormatContext); --#ifdef VTK_FFMPEG_OLD_URL_FCLOSE -- url_fclose(&this->avFormatContext->pb); --#else -- url_fclose(this->avFormatContext->pb); --#endif -+ avio_close(this->avFormatContext->pb); - this->openedFile = 0; - } - |