[rygel] media-export: Prefer 'getter' over internal field
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Prefer 'getter' over internal field
- Date: Sat, 19 Jun 2010 03:06:26 +0000 (UTC)
commit eb985b63ce50f200f0f1ceb5618fd5eb46ef3f80
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Jun 19 04:55:14 2010 +0300
media-export: Prefer 'getter' over internal field
Gst.Message.structure is internal and not exposed by latest VAPI so it
must be accessed through its getter method.
.../rygel-media-export-metadata-extractor.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
index 672d0f4..fe382b5 100644
--- a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
+++ b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
@@ -238,7 +238,7 @@ public class Rygel.MediaExport.MetadataExtractor: GLib.Object {
return;
}
- if (message.structure.get_name () == "playbin2-stream-changed") {
+ if (message.get_structure ().get_name () == "playbin2-stream-changed") {
this.extract_duration ();
this.extract_stream_info ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]