]> git.pld-linux.org Git - packages/ffmpeg.git/blob - ffmpeg-utvideo.patch
- updated to 1.2.1
[packages/ffmpeg.git] / ffmpeg-utvideo.patch
1 --- ffmpeg-1.1/libavcodec/libutvideodec.cpp.orig        2013-01-06 22:53:29.000000000 +0100
2 +++ ffmpeg-1.1/libavcodec/libutvideodec.cpp     2013-01-22 20:20:53.825406063 +0100
3 @@ -61,11 +61,11 @@ static av_cold int utvideo_decode_init(A
4          break;
5      case MKTAG('U', 'L', 'R', 'G'):
6          avctx->pix_fmt = AV_PIX_FMT_BGR24;
7 -        format = UTVF_RGB24_WIN;
8 +        format = UTVF_NFCC_BGR_BU;
9          break;
10      case MKTAG('U', 'L', 'R', 'A'):
11          avctx->pix_fmt = AV_PIX_FMT_RGB32;
12 -        format = UTVF_RGB32_WIN;
13 +        format = UTVF_NFCC_BGRA_BU;
14          break;
15      default:
16          av_log(avctx, AV_LOG_ERROR,
17 --- ffmpeg-1.1/libavcodec/libutvideoenc.cpp.orig        2013-01-06 22:53:29.000000000 +0100
18 +++ ffmpeg-1.1/libavcodec/libutvideoenc.cpp     2013-01-22 20:21:17.268738905 +0100
19 @@ -51,12 +51,12 @@ static av_cold int utvideo_encode_init(A
20          avctx->codec_tag = MKTAG('U', 'L', 'Y', '2');
21          break;
22      case AV_PIX_FMT_BGR24:
23 -        in_format = UTVF_RGB24_WIN;
24 +        in_format = UTVF_NFCC_BGR_BU;
25          avctx->bits_per_coded_sample = 24;
26          avctx->codec_tag = MKTAG('U', 'L', 'R', 'G');
27          break;
28      case AV_PIX_FMT_RGB32:
29 -        in_format = UTVF_RGB32_WIN;
30 +        in_format = UTVF_NFCC_BGRA_BU;
31          avctx->bits_per_coded_sample = 32;
32          avctx->codec_tag = MKTAG('U', 'L', 'R', 'A');
33          break;
This page took 0.041235 seconds and 3 git commands to generate.