summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xartigas@fluendo.com>2013-05-02 11:43:43 (GMT)
committerXavi Artigas <xartigas@fluendo.com>2013-05-02 11:43:43 (GMT)
commitd5696b0122cd80b623cd4d16d20db4a4b3183344 (patch)
treee2b8c0e860dcc32e315654e52357ecacf101a23e
parent4c6be2c93ec7a0c344a902d89e9fdf627e7e3bb4 (diff)
downloadgst-sdk-tutorials-d5696b0122cd80b623cd4d16d20db4a4b3183344.tar.gz
gst-sdk-tutorials-d5696b0122cd80b623cd4d16d20db4a4b3183344.tar.xz
Match variable names to other tutorials
-rw-r--r--gst-sdk/tutorials/xcode iOS/Tutorial 1/GStreamerBackend.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst-sdk/tutorials/xcode iOS/Tutorial 1/GStreamerBackend.m b/gst-sdk/tutorials/xcode iOS/Tutorial 1/GStreamerBackend.m
index 18a48d2..e36233b 100644
--- a/gst-sdk/tutorials/xcode iOS/Tutorial 1/GStreamerBackend.m
+++ b/gst-sdk/tutorials/xcode iOS/Tutorial 1/GStreamerBackend.m
@@ -6,10 +6,10 @@
-(NSString*) getGStreamerVersion
{
- char *str = gst_version_string();
- NSString *version = [NSString stringWithUTF8String:str];
- g_free(str);
- return version;
+ char *version_utf8 = gst_version_string();
+ NSString *version_string = [NSString stringWithUTF8String:version_utf8];
+ g_free(version_utf8);
+ return version_string;
}
@end