From 52c8ffaa49a5e51ed84efd6d755bb96097668464 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Thu, 24 Dec 2009 16:53:54 -0800 Subject: Some tidy-ups to the gstreamer media plugin while I try to figure out where the black-frame-on-resize is coming from. --- indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp') diff --git a/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp b/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp index 8e850ed7ff..c1389a7a4d 100644 --- a/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp +++ b/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp @@ -477,9 +477,8 @@ MediaPluginGStreamer010::update(int milliseconds) mCurrentWidth <= mWidth && !mTextureSegmentName.empty()) { - // we're gonna totally consume this frame - reset 'ready' flag - mVideoSink->retained_frame_ready = FALSE; + mVideoSink->retained_frame_ready = FALSE; int destination_rowbytes = mWidth * mDepth; for (int row=0; rowresize_forced = true; + mVideoSink->resize_forced_always = true; mVideoSink->resize_try_width = texture_width; mVideoSink->resize_try_height = texture_height; GST_OBJECT_UNLOCK(mVideoSink); -- cgit v1.2.3