Opened 7 years ago

Last modified 6 years ago

#6707 open defect

v4l2_m2m: fix full reinit

Reported by: Jorge Ramirez-Ortiz Owned by: Jorge Ramirez-Ortiz
Priority: normal Component: avcodec
Version: git-master Keywords: v4l2m2m
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes


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 (2)

comment:1 by Jorge Ramirez-Ortiz, 7 years ago

Owner: set to Jorge Ramirez-Ortiz
Status: newopen

comment:2 by Carl Eugen Hoyos, 6 years ago

Keywords: v4l2m2m added; v4l2_m2m removed
Note: See TracTickets for help on using tickets.