Opened 13 years ago
Closed 13 years ago
#10501 closed Patch - Bug Fix (Fixed)
Fix for MPEGRec(/dev/video0): StartEncoding failed eno: Inappropriate ioctl for device (25)
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | major | Milestone: | 0.25 |
Component: | MythTV - Recording | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
According to http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=9190d191b1b814dfb488125b54cf0de6eedd9220, the return value for unimplemented ioctls has been updated to ENOTTY (from EINVAL). This patch fixes the issue for analog recording from the HVR-2250 (saa7164), which would fail to record anything.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | mythtv-0.25-v4l2_EINVAL_ENOTTY.patch added |
---|
comment:1 Changed 13 years ago by
Resolution: | → Fixed |
---|---|
Status: | new → closed |
In [e967e30578e205b062821817002411c12c6390a8] Fixes #10501. Adapt to new return ioctl return value in Linux 3.1. Thanks to Anthony Messina for discovering the issue and the original patch. A different change was used only because #10501 will require a single point of exit from the functions affected.
Small patch to check for ENOTTY in mpegrecorder.cpp