History

video: make --deinterlace and HW deinterlace filters always deinterlace

Before this, we made deinterlacing dependent on the video codec metadata (AVFrame.interlaced_frame for libavcodec). So even if --deinterlace=yes was set, we skipped deinterlacing if the flag wasn't set. This is very unreliable and there are many streams with flags incorrectly set. The potential problem is that this might upset people who alwase enabled deinterlace and hoped it worked. But it's likely these people were screwed by this setting anyway. The new behavior is less tricky and easier to understand, and this preferable. Maybe one day we could introduce a --deinterlace=auto, which does the right thing, but of course this would be hard to implement (esecially with hwdec). Fixes #5219.

wm4 committed 8 years ago

Commit 830f0ae1 parent 1dcf5117 files · +13 −8Browse files

Showing the changes to DOCS/interface-changes.rst (1 of 7 files). Show all

Unified · Split

DOCS/interface-changes.rst+3−0
@@ -72,6 +72,9 @@ Interface changes · 71 unmodified lines
72 will probably stall.72 will probably stall.
73 - deprecate the OpenGL cocoa backend, option choice --gpu-context=cocoa73 - deprecate the OpenGL cocoa backend, option choice --gpu-context=cocoa
74 when used with --gpu-api=opengl (use --vo=opengl-cb)74 when used with --gpu-api=opengl (use --vo=opengl-cb)
75 - make --deinterlace=yes always deinterlace, instead of trying to check
76 certain unreliable video metadata. Also flip the defaults of all builtin
77 HW deinterlace filters to always deinterlace.
75 --- mpv 0.28.0 ---78 --- mpv 0.28.0 ---
76 - rename --hwdec=mediacodec option to mediacodec-copy, to reflect79 - rename --hwdec=mediacodec option to mediacodec-copy, to reflect
77 conventions followed by other hardware video decoding APIs80 conventions followed by other hardware video decoding APIs

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t