Opened 2 months ago

Last modified 2 months ago

#6707 open defect

v4l2_m2m: fix full reinit

Reported by: ldts Owned by: ldts
Priority: normal Component: avcodec
Version: git-master Keywords: v4l2_m2m
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Summary of the bug:
How to reproduce:

Decode a video stream which increases the video resolution at runtime.

The current implementation is buggy -works depending on stream and codec being used- since full-reinit closes the v4l2 file descriptor and therefore loses important header information used by the hardware.

Initially I assumed it to be a hardware/driver issue - the platforms used to test[1] had a common bug in its driver that hid the issue- but further analysis revealed it is just a simple bug (2 man/day to fix)

[1] dragon board 820c: works correctly
[2] dragon board 410c: only h263 works

I will submit a fix in the coming weeks.

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 Changed 2 months ago by ldts

  • Owner set to ldts
  • Status changed from new to open
Note: See TracTickets for help on using tickets.