[vlc-commits] decoder: video: don't update format when creating a picture

Thomas Guillem git at videolan.org
Mon Sep 26 17:13:33 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep 26 16:51:35 2016 +0200| [47467b9628e4776164164ab9c6caadf3b36c2408] | committer: Thomas Guillem

decoder: video: don't update format when creating a picture

Decoder modules are now responsible for calling decoder_UpdateVideoFormat()
before decoder_NewPicture().

In a lot of modules, decoder_UpdateVideoFormat() could be called in a better
place. Just after dec->fmt_out is updated for example.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47467b9628e4776164164ab9c6caadf3b36c2408
---

 include/vlc_codec.h                                | 22 +---------------------
 modules/codec/aom.c                                |  2 ++
 modules/codec/avcodec/video.c                      |  6 +++---
 modules/codec/bpg.c                                |  4 ++++
 modules/codec/cdg.c                                |  2 ++
 modules/codec/crystalhd.c                          |  5 ++++-
 modules/codec/daala.c                              |  2 ++
 modules/codec/dmo/dmo.c                            |  2 ++
 modules/codec/gstreamer/gstdecode.c                |  2 ++
 .../codec/gstreamer/gstvlcpictureplaneallocator.c  | 10 ++++++----
 modules/codec/jpeg.c                               |  4 ++++
 modules/codec/libmpeg2.c                           |  2 ++
 modules/codec/mft.c                                |  2 ++
 modules/codec/omxil/omxil.c                        |  6 +++++-
 modules/codec/png.c                                |  2 ++
 modules/codec/rawvideo.c                           |  4 +++-
 modules/codec/schroedinger.c                       |  2 ++
 modules/codec/sdl_image.c                          |  2 ++
 modules/codec/svg.c                                |  2 ++
 modules/codec/theora.c                             |  2 ++
 modules/codec/vpx.c                                |  2 ++
 modules/codec/xwd.c                                |  2 ++
 modules/hw/mmal/codec.c                            |  5 +++--
 modules/misc/stats.c                               |  3 ++-
 24 files changed, 63 insertions(+), 34 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=47467b9628e4776164164ab9c6caadf3b36c2408


More information about the vlc-commits mailing list