Quiet new -Wswitch warnings
This commit is contained in:
parent
acbe503c12
commit
78ea79b95a
1 changed files with 4 additions and 0 deletions
|
|
@ -1267,6 +1267,8 @@ ssize_t DrmRenderer::exportEGLImages(AVFrame *frame, EGLDisplay dpy,
|
||||||
attribs[attribIndex++] = EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT;
|
attribs[attribIndex++] = EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT;
|
||||||
attribs[attribIndex++] = EGL_YUV_CHROMA_SITING_0_5_EXT;
|
attribs[attribIndex++] = EGL_YUV_CHROMA_SITING_0_5_EXT;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
switch (frame->chroma_location) {
|
switch (frame->chroma_location) {
|
||||||
case AVCHROMA_LOC_TOPLEFT:
|
case AVCHROMA_LOC_TOPLEFT:
|
||||||
|
|
@ -1280,6 +1282,8 @@ ssize_t DrmRenderer::exportEGLImages(AVFrame *frame, EGLDisplay dpy,
|
||||||
attribs[attribIndex++] = EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT;
|
attribs[attribIndex++] = EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT;
|
||||||
attribs[attribIndex++] = EGL_YUV_CHROMA_SITING_0_5_EXT;
|
attribs[attribIndex++] = EGL_YUV_CHROMA_SITING_0_5_EXT;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Terminate the attribute list
|
// Terminate the attribute list
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue