Skip to content

Commit

Permalink
Only clear the background if video is below window to reduce performa…
Browse files Browse the repository at this point in the history
…nce issues
  • Loading branch information
Richard Hult authored and Richard Hult committed Mar 6, 2008
1 parent d9f97dd commit ac385d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ige-mac-video-sink.c
Expand Up @@ -731,7 +731,7 @@ mac_video_sink_size_allocate_cb (GtkWidget *widget,


/* Redraw the latest frame at the new position and size. */ /* Redraw the latest frame at the new position and size. */
if (sink->texture) { if (sink->texture) {
mac_video_sink_display_texture (sink, TRUE); mac_video_sink_display_texture (sink, sink->video_below_window);
} }


sink->last_bounds = bounds; sink->last_bounds = bounds;
Expand Down

0 comments on commit ac385d1

Please sign in to comment.