Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
F
ffmpeg
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • submodule
  • ffmpeg
  • Repository

Switch branch/tag
  • ffmpeg
  • libavdevice
  • v4l2.c
Find file
BlameHistoryPermalink
  • Andriy Gelman's avatar
    avdevice/v4l2: Remove av_assert0 when format not supported · 7b2ce27e
    Andriy Gelman authored Nov 05, 2019
    Before this commit an av_assert0 would fail if a v4l2 device did not
    support a target format.
    For example,
    ./ffmpeg -f v4l2 -codec:v h264 -i /dev/video0 -f mpegts -
    would signal an abort if /dev/video0 did not support h264.
    
    The new behaviour is to return an AVERROR(EINVAL) error code. An
    av_assert0 has been added to verify this return.
    
    Fixes #6629
    Signed-off-by: 's avatarAndriy Gelman <andriy.gelman@gmail.com>
    Reviewed-by: 's avatarNicolas George <george@nsup.org>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    7b2ce27e
v4l2.c 37.4 KB
EditWeb IDE

Replace v4l2.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.