mbox

[FFmpeg-devel,v2,0/5] avdevice/dshow fixups

Message ID 20220102094940.1765-1-dcnieho@gmail.com
Headers show

Message

Diederick C. Niehorster Jan. 2, 2022, 9:49 a.m. UTC
These five patches fix two regressions (one crashing bug making dshow
unusable on x86, and one regression introduced by my recent patches due
to which devices that seem to not behave according to spec but worked
fine before my patches could no longer be used.
They furthermore fix three small issues i found looking through the dshow code: 2x needed cleanup not being done, and one where to skip setting format for a pin when its useless.

new in v2 is fixing of the x86 crash

Diederick Niehorster (5):
  avdevice/dshow: tv_tuner_audio_dialog cleanup missing
  avdevice/dshow: proper cleanup of queried media types
  avdevice/dshow: fix crash on x86
  avdevice/dshow: only set pin format if wanted
  avdevice/dshow: ensure pin's default format is set

 libavdevice/dshow.c                |  93 +++++++++++++---------
 libavdevice/dshow_capture.h        | 120 ++++++++++++++---------------
 libavdevice/dshow_crossbar.c       |   4 +
 libavdevice/dshow_enummediatypes.c |   8 +-
 libavdevice/dshow_enumpins.c       |   8 +-
 libavdevice/dshow_filter.c         |  24 +++---
 libavdevice/dshow_pin.c            |  48 ++++++------
 7 files changed, 165 insertions(+), 140 deletions(-)