mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 10:04:19 +00:00
dfbvideosink: remove ignored assignments
Remove assignments to DFBResult res that are never read.
This commit is contained in:
parent
7aed8e184f
commit
e04ced027e
1 changed files with 4 additions and 4 deletions
|
@ -1818,7 +1818,7 @@ gst_dfbvideosink_show_frame (GstBaseSink * bsink, GstBuffer * buf)
|
|||
src.h = dfbvideosink->video_height;
|
||||
}
|
||||
gst_caps_unref (caps);
|
||||
res = surface->GetSize (surface, &dst.w, &dst.h);
|
||||
surface->GetSize (surface, &dst.w, &dst.h);
|
||||
|
||||
/* Center / Clip */
|
||||
gst_video_sink_center_rect (src, dst, &result, FALSE);
|
||||
|
@ -1910,15 +1910,15 @@ gst_dfbvideosink_show_frame (GstBaseSink * bsink, GstBuffer * buf)
|
|||
|
||||
gst_video_frame_unmap (&src_frame);
|
||||
|
||||
res = dest->Unlock (dest);
|
||||
dest->Unlock (dest);
|
||||
|
||||
dest->Release (dest);
|
||||
|
||||
if (dfbvideosink->backbuffer) {
|
||||
if (dfbvideosink->vsync) {
|
||||
res = surface->Flip (surface, NULL, DSFLIP_ONSYNC);
|
||||
surface->Flip (surface, NULL, DSFLIP_ONSYNC);
|
||||
} else {
|
||||
res = surface->Flip (surface, NULL, DSFLIP_NONE);
|
||||
surface->Flip (surface, NULL, DSFLIP_NONE);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue