Commits on Source (2)
-
Steve Lhomme authored
Only VLC_CODEC_YV12 has the U/V planes swapped compared to the libavutil chroma. We need to let the caller know when mapping VLC chromas to FFmpeg ones.
5c153bf0 -
Steve Lhomme authored
We already have this information from the VLC->libavutil chroma mapping.
0da47ff9
Showing
- modules/codec/avcodec/chroma.c 4 additions, 1 deletionmodules/codec/avcodec/chroma.c
- modules/codec/avcodec/chroma.h 1 addition, 1 deletionmodules/codec/avcodec/chroma.h
- modules/codec/avcodec/encoder.c 11 additions, 3 deletionsmodules/codec/avcodec/encoder.c
- modules/codec/avcodec/video.c 3 additions, 2 deletionsmodules/codec/avcodec/video.c
- modules/demux/avformat/mux.c 5 additions, 1 deletionmodules/demux/avformat/mux.c
- modules/video_chroma/swscale.c 5 additions, 9 deletionsmodules/video_chroma/swscale.c