[gthumb] reset the has_[audio|video] flags before loading a new file
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] reset the has_[audio|video] flags before loading a new file
- Date: Fri, 4 Nov 2011 08:59:50 +0000 (UTC)
commit b0596bffd1f7d9e13eed77a9fde80d0589bda85f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Nov 4 09:33:29 2011 +0100
reset the has_[audio|video] flags before loading a new file
extensions/gstreamer_tools/gth-media-viewer-page.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/gstreamer_tools/gth-media-viewer-page.c b/extensions/gstreamer_tools/gth-media-viewer-page.c
index e12c000..a9bb290 100644
--- a/extensions/gstreamer_tools/gth-media-viewer-page.c
+++ b/extensions/gstreamer_tools/gth-media-viewer-page.c
@@ -1112,6 +1112,8 @@ gth_media_viewer_page_real_view (GthViewerPage *base,
self->priv->file_data = gth_file_data_dup (file_data);
self->priv->duration = 0;
+ self->priv->has_audio = FALSE;
+ self->priv->has_video = FALSE;
_g_object_unref (self->priv->icon);
self->priv->icon = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]