First iOS Tutorial 4 (a copy of Tutorial 3)
|
@ -64,6 +64,26 @@
|
|||
C6B6129617396231003FC410 /* appicon-3-iPhone.png in Resources */ = {isa = PBXBuildFile; fileRef = C6B6129217396231003FC410 /* appicon-3-iPhone.png */; };
|
||||
C6B6129717396231003FC410 /* appicon-3-iPhone@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6B6129317396231003FC410 /* appicon-3-iPhone@2x.png */; };
|
||||
C6EB857C173A4D9500C3953D /* EaglUIVIew.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EB857B173A4D9500C3953D /* EaglUIVIew.m */; };
|
||||
C6EB8582173BEE5E00C3953D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67B40CC172EBEA3008359CC /* UIKit.framework */; };
|
||||
C6EB8583173BEE5E00C3953D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67B40CE172EBEA3008359CC /* Foundation.framework */; };
|
||||
C6EB8584173BEE5E00C3953D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67B40D0172EBEA3008359CC /* CoreGraphics.framework */; };
|
||||
C6EB8585173BEE5E00C3953D /* GStreamer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67B40D2172EBEA3008359CC /* GStreamer.framework */; };
|
||||
C6EB858B173BEE5E00C3953D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C6EB8589173BEE5E00C3953D /* InfoPlist.strings */; };
|
||||
C6EB858D173BEE5E00C3953D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EB858C173BEE5E00C3953D /* main.m */; };
|
||||
C6EB8591173BEE5E00C3953D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EB8590173BEE5E00C3953D /* AppDelegate.m */; };
|
||||
C6EB8593173BEE5E00C3953D /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB8592173BEE5E00C3953D /* Default.png */; };
|
||||
C6EB8595173BEE5E00C3953D /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB8594173BEE5E00C3953D /* Default@2x.png */; };
|
||||
C6EB8597173BEE5E00C3953D /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB8596173BEE5E00C3953D /* Default-568h@2x.png */; };
|
||||
C6EB859A173BEE5E00C3953D /* MainStoryboard_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C6EB8598173BEE5E00C3953D /* MainStoryboard_iPhone.storyboard */; };
|
||||
C6EB859D173BEE5E00C3953D /* MainStoryboard_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C6EB859B173BEE5E00C3953D /* MainStoryboard_iPad.storyboard */; };
|
||||
C6EB85A0173BEE5E00C3953D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EB859F173BEE5E00C3953D /* ViewController.m */; };
|
||||
C6EB85B1173BEF2600C3953D /* EaglUIVIew.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EB85AB173BEF2600C3953D /* EaglUIVIew.m */; };
|
||||
C6EB85B2173BEF2600C3953D /* gst_ios_init.c in Sources */ = {isa = PBXBuildFile; fileRef = C6EB85AC173BEF2600C3953D /* gst_ios_init.c */; };
|
||||
C6EB85B3173BEF2600C3953D /* GStreamerBackend.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EB85AF173BEF2600C3953D /* GStreamerBackend.m */; };
|
||||
C6EB85B9173BEFF800C3953D /* appicon-4-iPad.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB85B5173BEFF800C3953D /* appicon-4-iPad.png */; };
|
||||
C6EB85BA173BEFF800C3953D /* appicon-4-iPad@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB85B6173BEFF800C3953D /* appicon-4-iPad@2x.png */; };
|
||||
C6EB85BB173BEFF800C3953D /* appicon-4-iPhone.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB85B7173BEFF800C3953D /* appicon-4-iPhone.png */; };
|
||||
C6EB85BC173BEFF800C3953D /* appicon-4-iPhone@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6EB85B8173BEFF800C3953D /* appicon-4-iPhone@2x.png */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
|
@ -141,6 +161,31 @@
|
|||
C6B6129317396231003FC410 /* appicon-3-iPhone@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "appicon-3-iPhone@2x.png"; sourceTree = "<group>"; };
|
||||
C6EB857A173A4D9500C3953D /* EaglUIVIew.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EaglUIVIew.h; sourceTree = "<group>"; };
|
||||
C6EB857B173A4D9500C3953D /* EaglUIVIew.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EaglUIVIew.m; sourceTree = "<group>"; };
|
||||
C6EB8581173BEE5D00C3953D /* Tutorial 4.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Tutorial 4.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
C6EB8588173BEE5E00C3953D /* Tutorial 4-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tutorial 4-Info.plist"; sourceTree = "<group>"; };
|
||||
C6EB858A173BEE5E00C3953D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
C6EB858C173BEE5E00C3953D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
C6EB858E173BEE5E00C3953D /* Tutorial 4-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tutorial 4-Prefix.pch"; sourceTree = "<group>"; };
|
||||
C6EB858F173BEE5E00C3953D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||
C6EB8590173BEE5E00C3953D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
||||
C6EB8592173BEE5E00C3953D /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
|
||||
C6EB8594173BEE5E00C3953D /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
|
||||
C6EB8596173BEE5E00C3953D /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
|
||||
C6EB8599173BEE5E00C3953D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPhone.storyboard; sourceTree = "<group>"; };
|
||||
C6EB859C173BEE5E00C3953D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPad.storyboard; sourceTree = "<group>"; };
|
||||
C6EB859E173BEE5E00C3953D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
|
||||
C6EB859F173BEE5E00C3953D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
|
||||
C6EB85AA173BEF2600C3953D /* EaglUIVIew.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EaglUIVIew.h; sourceTree = "<group>"; };
|
||||
C6EB85AB173BEF2600C3953D /* EaglUIVIew.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EaglUIVIew.m; sourceTree = "<group>"; };
|
||||
C6EB85AC173BEF2600C3953D /* gst_ios_init.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gst_ios_init.c; sourceTree = "<group>"; };
|
||||
C6EB85AD173BEF2600C3953D /* gst_ios_init.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gst_ios_init.h; sourceTree = "<group>"; };
|
||||
C6EB85AE173BEF2600C3953D /* GStreamerBackend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GStreamerBackend.h; sourceTree = "<group>"; };
|
||||
C6EB85AF173BEF2600C3953D /* GStreamerBackend.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GStreamerBackend.m; sourceTree = "<group>"; };
|
||||
C6EB85B0173BEF2600C3953D /* GStreamerBackendDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GStreamerBackendDelegate.h; sourceTree = "<group>"; };
|
||||
C6EB85B5173BEFF800C3953D /* appicon-4-iPad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "appicon-4-iPad.png"; sourceTree = "<group>"; };
|
||||
C6EB85B6173BEFF800C3953D /* appicon-4-iPad@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "appicon-4-iPad@2x.png"; sourceTree = "<group>"; };
|
||||
C6EB85B7173BEFF800C3953D /* appicon-4-iPhone.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "appicon-4-iPhone.png"; sourceTree = "<group>"; };
|
||||
C6EB85B8173BEFF800C3953D /* appicon-4-iPhone@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "appicon-4-iPhone@2x.png"; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
|
@ -177,6 +222,17 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
C6EB857E173BEE5D00C3953D /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
C6EB8582173BEE5E00C3953D /* UIKit.framework in Frameworks */,
|
||||
C6EB8583173BEE5E00C3953D /* Foundation.framework in Frameworks */,
|
||||
C6EB8584173BEE5E00C3953D /* CoreGraphics.framework in Frameworks */,
|
||||
C6EB8585173BEE5E00C3953D /* GStreamer.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
|
@ -186,6 +242,7 @@
|
|||
C67B40D4172EBEA3008359CC /* Tutorial 1 */,
|
||||
C67B4104172FC7F4008359CC /* Tutorial 2 */,
|
||||
C6B6126417395CF2003FC410 /* Tutorial 3 */,
|
||||
C6EB8586173BEE5E00C3953D /* Tutorial 4 */,
|
||||
C67B40CB172EBEA3008359CC /* Frameworks */,
|
||||
C67B40CA172EBEA3008359CC /* Products */,
|
||||
);
|
||||
|
@ -197,6 +254,7 @@
|
|||
C67B40C9172EBEA3008359CC /* Tutorial 1.app */,
|
||||
C67B40FF172FC7F4008359CC /* Tutorial 2.app */,
|
||||
C6B6125F17395CF1003FC410 /* Tutorial 3.app */,
|
||||
C6EB8581173BEE5D00C3953D /* Tutorial 4.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
|
@ -348,6 +406,53 @@
|
|||
path = Images;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C6EB8586173BEE5E00C3953D /* Tutorial 4 */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C6EB85AA173BEF2600C3953D /* EaglUIVIew.h */,
|
||||
C6EB85AB173BEF2600C3953D /* EaglUIVIew.m */,
|
||||
C6EB85B4173BEFF800C3953D /* Images */,
|
||||
C6EB85AE173BEF2600C3953D /* GStreamerBackend.h */,
|
||||
C6EB85AF173BEF2600C3953D /* GStreamerBackend.m */,
|
||||
C6EB858F173BEE5E00C3953D /* AppDelegate.h */,
|
||||
C6EB8590173BEE5E00C3953D /* AppDelegate.m */,
|
||||
C6EB8598173BEE5E00C3953D /* MainStoryboard_iPhone.storyboard */,
|
||||
C6EB859B173BEE5E00C3953D /* MainStoryboard_iPad.storyboard */,
|
||||
C6EB859E173BEE5E00C3953D /* ViewController.h */,
|
||||
C6EB859F173BEE5E00C3953D /* ViewController.m */,
|
||||
C6EB8587173BEE5E00C3953D /* Supporting Files */,
|
||||
);
|
||||
path = "Tutorial 4";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C6EB8587173BEE5E00C3953D /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C6EB85AC173BEF2600C3953D /* gst_ios_init.c */,
|
||||
C6EB85AD173BEF2600C3953D /* gst_ios_init.h */,
|
||||
C6EB8588173BEE5E00C3953D /* Tutorial 4-Info.plist */,
|
||||
C6EB8589173BEE5E00C3953D /* InfoPlist.strings */,
|
||||
C6EB858C173BEE5E00C3953D /* main.m */,
|
||||
C6EB858E173BEE5E00C3953D /* Tutorial 4-Prefix.pch */,
|
||||
C6EB8592173BEE5E00C3953D /* Default.png */,
|
||||
C6EB8594173BEE5E00C3953D /* Default@2x.png */,
|
||||
C6EB8596173BEE5E00C3953D /* Default-568h@2x.png */,
|
||||
C6EB85B0173BEF2600C3953D /* GStreamerBackendDelegate.h */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C6EB85B4173BEFF800C3953D /* Images */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C6EB85B5173BEFF800C3953D /* appicon-4-iPad.png */,
|
||||
C6EB85B6173BEFF800C3953D /* appicon-4-iPad@2x.png */,
|
||||
C6EB85B7173BEFF800C3953D /* appicon-4-iPhone.png */,
|
||||
C6EB85B8173BEFF800C3953D /* appicon-4-iPhone@2x.png */,
|
||||
);
|
||||
path = Images;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
|
@ -402,6 +507,23 @@
|
|||
productReference = C6B6125F17395CF1003FC410 /* Tutorial 3.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
C6EB8580173BEE5D00C3953D /* Tutorial 4 */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = C6EB85A7173BEE5F00C3953D /* Build configuration list for PBXNativeTarget "Tutorial 4" */;
|
||||
buildPhases = (
|
||||
C6EB857D173BEE5D00C3953D /* Sources */,
|
||||
C6EB857E173BEE5D00C3953D /* Frameworks */,
|
||||
C6EB857F173BEE5D00C3953D /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = "Tutorial 4";
|
||||
productName = "Tutorial 4";
|
||||
productReference = C6EB8581173BEE5D00C3953D /* Tutorial 4.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
|
@ -425,6 +547,7 @@
|
|||
C67B40C8172EBEA3008359CC /* Tutorial 1 */,
|
||||
C67B40FE172FC7F4008359CC /* Tutorial 2 */,
|
||||
C6B6125E17395CF1003FC410 /* Tutorial 3 */,
|
||||
C6EB8580173BEE5D00C3953D /* Tutorial 4 */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
@ -480,6 +603,23 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
C6EB857F173BEE5D00C3953D /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
C6EB858B173BEE5E00C3953D /* InfoPlist.strings in Resources */,
|
||||
C6EB8593173BEE5E00C3953D /* Default.png in Resources */,
|
||||
C6EB8595173BEE5E00C3953D /* Default@2x.png in Resources */,
|
||||
C6EB8597173BEE5E00C3953D /* Default-568h@2x.png in Resources */,
|
||||
C6EB859A173BEE5E00C3953D /* MainStoryboard_iPhone.storyboard in Resources */,
|
||||
C6EB859D173BEE5E00C3953D /* MainStoryboard_iPad.storyboard in Resources */,
|
||||
C6EB85B9173BEFF800C3953D /* appicon-4-iPad.png in Resources */,
|
||||
C6EB85BA173BEFF800C3953D /* appicon-4-iPad@2x.png in Resources */,
|
||||
C6EB85BB173BEFF800C3953D /* appicon-4-iPhone.png in Resources */,
|
||||
C6EB85BC173BEFF800C3953D /* appicon-4-iPhone@2x.png in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
|
@ -520,6 +660,19 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
C6EB857D173BEE5D00C3953D /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
C6EB858D173BEE5E00C3953D /* main.m in Sources */,
|
||||
C6EB8591173BEE5E00C3953D /* AppDelegate.m in Sources */,
|
||||
C6EB85A0173BEE5E00C3953D /* ViewController.m in Sources */,
|
||||
C6EB85B1173BEF2600C3953D /* EaglUIVIew.m in Sources */,
|
||||
C6EB85B2173BEF2600C3953D /* gst_ios_init.c in Sources */,
|
||||
C6EB85B3173BEF2600C3953D /* GStreamerBackend.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
|
@ -595,6 +748,30 @@
|
|||
name = MainStoryboard_iPad.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C6EB8589173BEE5E00C3953D /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
C6EB858A173BEE5E00C3953D /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C6EB8598173BEE5E00C3953D /* MainStoryboard_iPhone.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
C6EB8599173BEE5E00C3953D /* en */,
|
||||
);
|
||||
name = MainStoryboard_iPhone.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C6EB859B173BEE5E00C3953D /* MainStoryboard_iPad.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
C6EB859C173BEE5E00C3953D /* en */,
|
||||
);
|
||||
name = MainStoryboard_iPad.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
|
@ -1006,6 +1183,138 @@
|
|||
};
|
||||
name = Release;
|
||||
};
|
||||
C6EB85A8173BEE5F00C3953D /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = armv7;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"\"~/Library/Developer/GStreamer/iPhone.sdk\"",
|
||||
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
|
||||
);
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "Tutorial 4/Tutorial 4-Prefix.pch";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = "\"~/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers\"";
|
||||
INFOPLIST_FILE = "Tutorial 4/Tutorial 4-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_LDFLAGS = (
|
||||
"-lresolv",
|
||||
"-lstdc++",
|
||||
"-framework",
|
||||
CoreFoundation,
|
||||
"-framework",
|
||||
Foundation,
|
||||
"-framework",
|
||||
AVFoundation,
|
||||
"-framework",
|
||||
CoreMedia,
|
||||
"-framework",
|
||||
CoreVideo,
|
||||
"-framework",
|
||||
CoreAudio,
|
||||
"-framework",
|
||||
AudioToolbox,
|
||||
"-framework",
|
||||
OpenGLES,
|
||||
"-framework",
|
||||
AssetsLibrary,
|
||||
"-framework",
|
||||
QuartzCore,
|
||||
"-framework",
|
||||
AssetsLibrary,
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
C6EB85A9173BEE5F00C3953D /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = armv7;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"\"~/Library/Developer/GStreamer/iPhone.sdk\"",
|
||||
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
|
||||
);
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "Tutorial 4/Tutorial 4-Prefix.pch";
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = "\"~/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers\"";
|
||||
INFOPLIST_FILE = "Tutorial 4/Tutorial 4-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
|
||||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
||||
OTHER_LDFLAGS = (
|
||||
"-lresolv",
|
||||
"-lstdc++",
|
||||
"-framework",
|
||||
CoreFoundation,
|
||||
"-framework",
|
||||
Foundation,
|
||||
"-framework",
|
||||
AVFoundation,
|
||||
"-framework",
|
||||
CoreMedia,
|
||||
"-framework",
|
||||
CoreVideo,
|
||||
"-framework",
|
||||
CoreAudio,
|
||||
"-framework",
|
||||
AudioToolbox,
|
||||
"-framework",
|
||||
OpenGLES,
|
||||
"-framework",
|
||||
AssetsLibrary,
|
||||
"-framework",
|
||||
QuartzCore,
|
||||
"-framework",
|
||||
AssetsLibrary,
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
|
@ -1045,6 +1354,14 @@
|
|||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
C6EB85A7173BEE5F00C3953D /* Build configuration list for PBXNativeTarget "Tutorial 4" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C6EB85A8173BEE5F00C3953D /* Debug */,
|
||||
C6EB85A9173BEE5F00C3953D /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = C67B40BF172EBDF1008359CC /* Project object */;
|
||||
|
|
15
gst-sdk/tutorials/xcode iOS/Tutorial 4/AppDelegate.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
//
|
||||
// AppDelegate.h
|
||||
// Tutorial 4
|
||||
//
|
||||
// Created by Xavi Artigas on 5/9/13.
|
||||
//
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
||||
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
|
||||
@end
|
46
gst-sdk/tutorials/xcode iOS/Tutorial 4/AppDelegate.m
Normal file
|
@ -0,0 +1,46 @@
|
|||
//
|
||||
// AppDelegate.m
|
||||
// Tutorial 4
|
||||
//
|
||||
// Created by Xavi Artigas on 5/9/13.
|
||||
//
|
||||
//
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
// Override point for customization after application launch.
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)applicationWillResignActive:(UIApplication *)application
|
||||
{
|
||||
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
|
||||
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
|
||||
}
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application
|
||||
{
|
||||
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
|
||||
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
|
||||
}
|
||||
|
||||
- (void)applicationWillEnterForeground:(UIApplication *)application
|
||||
{
|
||||
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application
|
||||
{
|
||||
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application
|
||||
{
|
||||
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
|
||||
}
|
||||
|
||||
@end
|
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Default-568h@2x.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Default.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Default@2x.png
Normal file
After Width: | Height: | Size: 16 KiB |
55
gst-sdk/tutorials/xcode iOS/Tutorial 4/EaglUIVIew.h
Normal file
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* GStreamer Player demo app for IOS
|
||||
* Copyright (C) 2013 Collabora Ltd.
|
||||
* @author: Thiago Santos <thiago.sousa.santos@collabora.com>
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the
|
||||
* GNU Lesser General Public License Version 2.1 (the "LGPL"), in
|
||||
* which case the following provisions apply instead of the ones
|
||||
* mentioned above:
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#include <OpenGLES/ES2/gl.h>
|
||||
#include <OpenGLES/ES2/glext.h>
|
||||
|
||||
@interface EaglUIView : UIView
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
57
gst-sdk/tutorials/xcode iOS/Tutorial 4/EaglUIVIew.m
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* GStreamer Player demo app for IOS
|
||||
* Copyright (C) 2013 Collabora Ltd.
|
||||
* @author: Thiago Santos <thiago.sousa.santos@collabora.com>
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the
|
||||
* GNU Lesser General Public License Version 2.1 (the "LGPL"), in
|
||||
* which case the following provisions apply instead of the ones
|
||||
* mentioned above:
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import "EaglUIVIew.h"
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
@implementation EaglUIView
|
||||
|
||||
|
||||
+ (Class) layerClass
|
||||
{
|
||||
return [CAEAGLLayer class];
|
||||
}
|
||||
|
||||
@end
|
17
gst-sdk/tutorials/xcode iOS/Tutorial 4/GStreamerBackend.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import "GStreamerBackendDelegate.h"
|
||||
|
||||
@interface GStreamerBackend : NSObject
|
||||
|
||||
/* Initialization method. Pass the delegate that will take care of the UI.
|
||||
* This delegate must implement the GStreamerBackendDelegate protocol.
|
||||
* Pass also the UIView object that will hold the video window. */
|
||||
-(id) init:(id) uiDelegate videoView:(UIView*) video_view;
|
||||
|
||||
/* Set the pipeline to PLAYING */
|
||||
-(void) play;
|
||||
|
||||
/* Set the pipeline to PAUSED */
|
||||
-(void) pause;
|
||||
|
||||
@end
|
191
gst-sdk/tutorials/xcode iOS/Tutorial 4/GStreamerBackend.m
Normal file
|
@ -0,0 +1,191 @@
|
|||
#import "GStreamerBackend.h"
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/interfaces/xoverlay.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (debug_category);
|
||||
#define GST_CAT_DEFAULT debug_category
|
||||
|
||||
@interface GStreamerBackend()
|
||||
-(void)setUIMessage:(gchar*) message;
|
||||
-(void)app_function;
|
||||
-(void)check_initialization_complete;
|
||||
@end
|
||||
|
||||
@implementation GStreamerBackend {
|
||||
id ui_delegate; /* Class that we use to interact with the user interface */
|
||||
GstElement *pipeline; /* The running pipeline */
|
||||
GstElement *video_sink;/* The video sink element which receives XOverlay commands */
|
||||
GMainContext *context; /* GLib context used to run the main loop */
|
||||
GMainLoop *main_loop; /* GLib main loop */
|
||||
gboolean initialized; /* To avoid informing the UI multiple times about the initialization */
|
||||
UIView *ui_video_view; /* UIView that holds the video */
|
||||
}
|
||||
|
||||
/*
|
||||
* Interface methods
|
||||
*/
|
||||
|
||||
-(id) init:(id) uiDelegate videoView:(UIView *)video_view
|
||||
{
|
||||
if (self = [super init])
|
||||
{
|
||||
self->ui_delegate = uiDelegate;
|
||||
self->ui_video_view = video_view;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (debug_category, "tutorial-4", 0, "iOS tutorial 4");
|
||||
gst_debug_set_threshold_for_name("tutorial-4", GST_LEVEL_DEBUG);
|
||||
|
||||
/* Start the bus monitoring task */
|
||||
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
||||
[self app_function];
|
||||
});
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void) dealloc
|
||||
{
|
||||
if (pipeline) {
|
||||
GST_DEBUG("Setting the pipeline to NULL");
|
||||
gst_element_set_state(pipeline, GST_STATE_NULL);
|
||||
gst_object_unref(pipeline);
|
||||
pipeline = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
-(void) play
|
||||
{
|
||||
if(gst_element_set_state(pipeline, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {
|
||||
[self setUIMessage:"Failed to set pipeline to playing"];
|
||||
}
|
||||
}
|
||||
|
||||
-(void) pause
|
||||
{
|
||||
if(gst_element_set_state(pipeline, GST_STATE_PAUSED) == GST_STATE_CHANGE_FAILURE) {
|
||||
[self setUIMessage:"Failed to set pipeline to paused"];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Private methods
|
||||
*/
|
||||
|
||||
/* Change the message on the UI through the UI delegate */
|
||||
-(void)setUIMessage:(gchar*) message
|
||||
{
|
||||
NSString *string = [NSString stringWithUTF8String:message];
|
||||
if(ui_delegate && [ui_delegate respondsToSelector:@selector(gstreamerSetUIMessage:)])
|
||||
{
|
||||
[ui_delegate gstreamerSetUIMessage:string];
|
||||
}
|
||||
}
|
||||
|
||||
/* Retrieve errors from the bus and show them on the UI */
|
||||
static void error_cb (GstBus *bus, GstMessage *msg, GStreamerBackend *self)
|
||||
{
|
||||
GError *err;
|
||||
gchar *debug_info;
|
||||
gchar *message_string;
|
||||
|
||||
gst_message_parse_error (msg, &err, &debug_info);
|
||||
message_string = g_strdup_printf ("Error received from element %s: %s", GST_OBJECT_NAME (msg->src), err->message);
|
||||
g_clear_error (&err);
|
||||
g_free (debug_info);
|
||||
[self setUIMessage:message_string];
|
||||
g_free (message_string);
|
||||
gst_element_set_state (self->pipeline, GST_STATE_NULL);
|
||||
}
|
||||
|
||||
/* Notify UI about pipeline state changes */
|
||||
static void state_changed_cb (GstBus *bus, GstMessage *msg, GStreamerBackend *self)
|
||||
{
|
||||
GstState old_state, new_state, pending_state;
|
||||
gst_message_parse_state_changed (msg, &old_state, &new_state, &pending_state);
|
||||
/* Only pay attention to messages coming from the pipeline, not its children */
|
||||
if (GST_MESSAGE_SRC (msg) == GST_OBJECT (self->pipeline)) {
|
||||
gchar *message = g_strdup_printf("State changed to %s", gst_element_state_get_name(new_state));
|
||||
[self setUIMessage:message];
|
||||
g_free (message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Check if all conditions are met to report GStreamer as initialized.
|
||||
* These conditions will change depending on the application */
|
||||
-(void) check_initialization_complete
|
||||
{
|
||||
if (!initialized && main_loop) {
|
||||
GST_DEBUG ("Initialization complete, notifying application.");
|
||||
if (ui_delegate && [ui_delegate respondsToSelector:@selector(gstreamerInitialized)])
|
||||
{
|
||||
[ui_delegate gstreamerInitialized];
|
||||
}
|
||||
initialized = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Main method for the bus monitoring code */
|
||||
-(void) app_function
|
||||
{
|
||||
GstBus *bus;
|
||||
GSource *bus_source;
|
||||
GError *error = NULL;
|
||||
|
||||
GST_DEBUG ("Creating pipeline");
|
||||
|
||||
/* Create our own GLib Main Context and make it the default one */
|
||||
context = g_main_context_new ();
|
||||
g_main_context_push_thread_default(context);
|
||||
|
||||
/* Build pipeline */
|
||||
pipeline = gst_parse_launch("videotestsrc ! warptv ! ffmpegcolorspace ! autovideosink", &error);
|
||||
if (error) {
|
||||
gchar *message = g_strdup_printf("Unable to build pipeline: %s", error->message);
|
||||
g_clear_error (&error);
|
||||
[self setUIMessage:message];
|
||||
g_free (message);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Set the pipeline to READY, so it can already accept a window handle */
|
||||
gst_element_set_state(pipeline, GST_STATE_READY);
|
||||
|
||||
video_sink = gst_bin_get_by_interface(GST_BIN(pipeline), GST_TYPE_X_OVERLAY);
|
||||
if (!video_sink) {
|
||||
GST_ERROR ("Could not retrieve video sink");
|
||||
return;
|
||||
}
|
||||
gst_x_overlay_set_window_handle(GST_X_OVERLAY(video_sink), (guintptr) (id) ui_video_view);
|
||||
|
||||
/* Instruct the bus to emit signals for each received message, and connect to the interesting signals */
|
||||
bus = gst_element_get_bus (pipeline);
|
||||
bus_source = gst_bus_create_watch (bus);
|
||||
g_source_set_callback (bus_source, (GSourceFunc) gst_bus_async_signal_func, NULL, NULL);
|
||||
g_source_attach (bus_source, context);
|
||||
g_source_unref (bus_source);
|
||||
g_signal_connect (G_OBJECT (bus), "message::error", (GCallback)error_cb, (__bridge void *)self);
|
||||
g_signal_connect (G_OBJECT (bus), "message::state-changed", (GCallback)state_changed_cb, (__bridge void *)self);
|
||||
gst_object_unref (bus);
|
||||
|
||||
/* Create a GLib Main Loop and set it to run */
|
||||
GST_DEBUG ("Entering main loop...");
|
||||
main_loop = g_main_loop_new (context, FALSE);
|
||||
[self check_initialization_complete];
|
||||
g_main_loop_run (main_loop);
|
||||
GST_DEBUG ("Exited main loop");
|
||||
g_main_loop_unref (main_loop);
|
||||
main_loop = NULL;
|
||||
|
||||
/* Free resources */
|
||||
g_main_context_pop_thread_default(context);
|
||||
g_main_context_unref (context);
|
||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
gst_object_unref (pipeline);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
@protocol GStreamerBackendDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
/* Called when the GStreamer backend has finished initializing
|
||||
* and is ready to accept orders. */
|
||||
-(void) gstreamerInitialized;
|
||||
|
||||
/* Called when the GStreamer backend wants to output some message
|
||||
* to the screen. */
|
||||
-(void) gstreamerSetUIMessage:(NSString *)message;
|
||||
|
||||
@end
|
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Images/appicon-4-iPad.png
Executable file
After Width: | Height: | Size: 6.7 KiB |
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Images/appicon-4-iPad@2x.png
Executable file
After Width: | Height: | Size: 17 KiB |
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Images/appicon-4-iPhone.png
Executable file
After Width: | Height: | Size: 5.3 KiB |
BIN
gst-sdk/tutorials/xcode iOS/Tutorial 4/Images/appicon-4-iPhone@2x.png
Executable file
After Width: | Height: | Size: 12 KiB |
62
gst-sdk/tutorials/xcode iOS/Tutorial 4/Tutorial 4-Info.plist
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIcons</key>
|
||||
<dict>
|
||||
<key>CFBundlePrimaryIcon</key>
|
||||
<dict>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>appicon-4-iPhone.png</string>
|
||||
<string>appicon-4-iPhone@2x.png</string>
|
||||
<string>appicon-4-iPad.png</string>
|
||||
<string>appicon-4-iPad@2x.png</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>gstreamer-sdk.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
<string>MainStoryboard_iPhone</string>
|
||||
<key>UIMainStoryboardFile~ipad</key>
|
||||
<string>MainStoryboard_iPad</string>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
14
gst-sdk/tutorials/xcode iOS/Tutorial 4/Tutorial 4-Prefix.pch
Normal file
|
@ -0,0 +1,14 @@
|
|||
//
|
||||
// Prefix header for all source files of the 'Tutorial 4' target in the 'Tutorial 4' project
|
||||
//
|
||||
|
||||
#import <Availability.h>
|
||||
|
||||
#ifndef __IPHONE_5_0
|
||||
#warning "This project uses features only available in iOS SDK 5.0 and later."
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
21
gst-sdk/tutorials/xcode iOS/Tutorial 4/ViewController.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
#import "GStreamerBackendDelegate.h"
|
||||
|
||||
@interface ViewController : UIViewController <GStreamerBackendDelegate> {
|
||||
IBOutlet UILabel *message_label;
|
||||
IBOutlet UIBarButtonItem *play_button;
|
||||
IBOutlet UIBarButtonItem *pause_button;
|
||||
IBOutlet UIView *video_view;
|
||||
IBOutlet UIView *video_container_view;
|
||||
IBOutlet NSLayoutConstraint *video_width_constraint;
|
||||
IBOutlet NSLayoutConstraint *video_height_constraint;
|
||||
}
|
||||
|
||||
-(IBAction) play:(id)sender;
|
||||
-(IBAction) pause:(id)sender;
|
||||
|
||||
/* From GStreamerBackendDelegate */
|
||||
-(void) gstreamerInitialized;
|
||||
-(void) gstreamerSetUIMessage:(NSString *)message;
|
||||
|
||||
@end
|
88
gst-sdk/tutorials/xcode iOS/Tutorial 4/ViewController.m
Normal file
|
@ -0,0 +1,88 @@
|
|||
#import "ViewController.h"
|
||||
#import "GStreamerBackend.h"
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ViewController () {
|
||||
GStreamerBackend *gst_backend;
|
||||
int media_width;
|
||||
int media_height;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation ViewController
|
||||
|
||||
/*
|
||||
* Methods from UIViewController
|
||||
*/
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
play_button.enabled = FALSE;
|
||||
pause_button.enabled = FALSE;
|
||||
|
||||
/* Make these constant for now, later tutorials will change them */
|
||||
media_width = 320;
|
||||
media_height = 240;
|
||||
|
||||
gst_backend = [[GStreamerBackend alloc] init:self videoView:video_view];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
/* Called when the Play button is pressed */
|
||||
-(IBAction) play:(id)sender
|
||||
{
|
||||
[gst_backend play];
|
||||
}
|
||||
|
||||
/* Called when the Pause button is pressed */
|
||||
-(IBAction) pause:(id)sender
|
||||
{
|
||||
[gst_backend pause];
|
||||
}
|
||||
|
||||
- (void)viewDidLayoutSubviews
|
||||
{
|
||||
CGFloat view_width = video_container_view.bounds.size.width;
|
||||
CGFloat view_height = video_container_view.bounds.size.height;
|
||||
|
||||
CGFloat correct_height = view_width * media_height / media_width;
|
||||
CGFloat correct_width = view_height * media_width / media_height;
|
||||
|
||||
if (correct_height < view_height) {
|
||||
video_height_constraint.constant = correct_height;
|
||||
video_width_constraint.constant = view_width;
|
||||
} else {
|
||||
video_width_constraint.constant = correct_width;
|
||||
video_height_constraint.constant = view_height;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Methods from GstreamerBackendDelegate
|
||||
*/
|
||||
|
||||
-(void) gstreamerInitialized
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
play_button.enabled = TRUE;
|
||||
pause_button.enabled = TRUE;
|
||||
message_label.text = @"Ready";
|
||||
});
|
||||
}
|
||||
|
||||
-(void) gstreamerSetUIMessage:(NSString *)message
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
message_label.text = message;
|
||||
});
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,2 @@
|
|||
/* Localized versions of Info.plist keys */
|
||||
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="11G63" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="z7O-8l-Zeo">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="2083"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="P93-nn-HBJ">
|
||||
<objects>
|
||||
<viewController id="z7O-8l-Zeo" customClass="ViewController" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="CqS-Gu-I1O">
|
||||
<rect key="frame" x="0.0" y="20" width="768" height="1004"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xWd-bg-0b6" userLabel="VideoContainer">
|
||||
<subviews>
|
||||
<view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="6tN-97-YoQ" userLabel="Video" customClass="EaglUIView">
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="240" type="user" id="A9A-eK-7QX"/>
|
||||
<constraint firstAttribute="width" constant="320" type="user" id="xcj-6M-2KJ"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="centerY" secondItem="6tN-97-YoQ" secondAttribute="centerY" type="user" id="UYa-oM-cdf"/>
|
||||
<constraint firstAttribute="centerX" secondItem="6tN-97-YoQ" secondAttribute="centerX" type="user" id="w9H-W0-MfF"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Initializing..." textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="728" translatesAutoresizingMaskIntoConstraints="NO" id="iLX-h1-Ko5" userLabel="Message">
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" type="user" id="7Z8-1b-Y41"/>
|
||||
<constraint firstAttribute="height" constant="21" type="user" id="jAS-RD-k2d"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MUi-CE-Ydy">
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" type="user" id="EwL-Ma-A4v"/>
|
||||
</constraints>
|
||||
<items>
|
||||
<barButtonItem style="plain" systemItem="flexibleSpace" id="onU-hf-FS4"/>
|
||||
<barButtonItem systemItem="play" id="UlF-Ga-2VX">
|
||||
<connections>
|
||||
<action selector="play:" destination="z7O-8l-Zeo" id="5xC-uv-9lM"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
<barButtonItem systemItem="pause" id="J3O-8j-Tkt">
|
||||
<connections>
|
||||
<action selector="pause:" destination="z7O-8l-Zeo" id="BYM-2X-Tel"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
<barButtonItem style="plain" systemItem="flexibleSpace" id="urI-U7-ALw"/>
|
||||
</items>
|
||||
</toolbar>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="MUi-CE-Ydy" firstAttribute="trailing" secondItem="CqS-Gu-I1O" secondAttribute="trailing" constant="20" symbolic="YES" type="user" id="4vm-hF-9E8"/>
|
||||
<constraint firstItem="iLX-h1-Ko5" firstAttribute="bottom" secondItem="MUi-CE-Ydy" secondAttribute="top" constant="8" symbolic="YES" type="user" id="FXP-eH-VSK"/>
|
||||
<constraint firstItem="xWd-bg-0b6" firstAttribute="top" secondItem="CqS-Gu-I1O" secondAttribute="top" type="user" id="MXr-HK-07f"/>
|
||||
<constraint firstAttribute="trailing" secondItem="xWd-bg-0b6" secondAttribute="trailing" type="user" id="NGT-7D-rHD"/>
|
||||
<constraint firstItem="MUi-CE-Ydy" firstAttribute="leading" secondItem="CqS-Gu-I1O" secondAttribute="leading" constant="20" symbolic="YES" type="user" id="OM9-gE-OVP"/>
|
||||
<constraint firstItem="xWd-bg-0b6" firstAttribute="leading" secondItem="CqS-Gu-I1O" secondAttribute="leading" type="user" id="XO5-WJ-Y3R"/>
|
||||
<constraint firstItem="iLX-h1-Ko5" firstAttribute="top" secondItem="xWd-bg-0b6" secondAttribute="bottom" type="user" id="aP8-7M-Fq3"/>
|
||||
<constraint firstItem="iLX-h1-Ko5" firstAttribute="leading" secondItem="CqS-Gu-I1O" secondAttribute="leading" constant="20" symbolic="YES" type="user" id="bT2-TE-X7Q"/>
|
||||
<constraint firstAttribute="trailing" secondItem="iLX-h1-Ko5" secondAttribute="trailing" constant="20" symbolic="YES" type="user" id="ruI-5P-l7I"/>
|
||||
<constraint firstItem="MUi-CE-Ydy" firstAttribute="bottom" secondItem="CqS-Gu-I1O" secondAttribute="bottom" constant="20" symbolic="YES" type="user" id="w6K-xy-EJe"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
|
||||
<connections>
|
||||
<outlet property="message_label" destination="iLX-h1-Ko5" id="Q0Y-3J-zis"/>
|
||||
<outlet property="pause_button" destination="J3O-8j-Tkt" id="Dls-sg-FPm"/>
|
||||
<outlet property="play_button" destination="UlF-Ga-2VX" id="243-yq-GEe"/>
|
||||
<outlet property="video_container_view" destination="xWd-bg-0b6" id="7dL-Mp-QGc"/>
|
||||
<outlet property="video_height_constraint" destination="A9A-eK-7QX" id="rMe-ze-8l5"/>
|
||||
<outlet property="video_view" destination="6tN-97-YoQ" id="Q0n-dR-hqv"/>
|
||||
<outlet property="video_width_constraint" destination="xcj-6M-2KJ" id="oTt-9z-KCW"/>
|
||||
</connections>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="iRS-GG-bR6" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
</scene>
|
||||
</scenes>
|
||||
<classes>
|
||||
<class className="EaglUIView" superclassName="UIView">
|
||||
<source key="sourceIdentifier" type="project" relativePath="./Classes/EaglUIView.h"/>
|
||||
</class>
|
||||
<class className="ViewController" superclassName="UIViewController">
|
||||
<source key="sourceIdentifier" type="project" relativePath="./Classes/ViewController.h"/>
|
||||
<relationships>
|
||||
<relationship kind="action" name="pause:"/>
|
||||
<relationship kind="action" name="play:"/>
|
||||
<relationship kind="outlet" name="label" candidateClass="UILabel"/>
|
||||
<relationship kind="outlet" name="message_label" candidateClass="UILabel"/>
|
||||
<relationship kind="outlet" name="pause_button" candidateClass="UIBarButtonItem"/>
|
||||
<relationship kind="outlet" name="play_button" candidateClass="UIBarButtonItem"/>
|
||||
<relationship kind="outlet" name="video_container_view" candidateClass="UIView"/>
|
||||
<relationship kind="outlet" name="video_height_constraint" candidateClass="NSLayoutConstraint"/>
|
||||
<relationship kind="outlet" name="video_view" candidateClass="UIView"/>
|
||||
<relationship kind="outlet" name="video_width_constraint" candidateClass="NSLayoutConstraint"/>
|
||||
</relationships>
|
||||
</class>
|
||||
</classes>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar" statusBarStyle="blackTranslucent"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
|
@ -0,0 +1,108 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="11G63" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="kYn-Hr-MJq">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="2083"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="3nc-d3-XH9">
|
||||
<objects>
|
||||
<viewController id="kYn-Hr-MJq" customClass="ViewController" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="JOS-rK-Hts">
|
||||
<rect key="frame" x="0.0" y="20" width="320" height="548"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0dR-Db-Wxo" userLabel="VideoContainer">
|
||||
<subviews>
|
||||
<view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="YVj-fp-BtA" userLabel="Video" customClass="EaglUIView">
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="320" type="user" id="9zy-ya-q8u"/>
|
||||
<constraint firstAttribute="height" constant="240" type="user" id="DNz-za-Lsb"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="centerY" secondItem="YVj-fp-BtA" secondAttribute="centerY" type="user" id="5B7-CE-mxw"/>
|
||||
<constraint firstAttribute="centerX" secondItem="YVj-fp-BtA" secondAttribute="centerX" type="user" id="mCK-0x-q1w"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Initializing..." textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="280" translatesAutoresizingMaskIntoConstraints="NO" id="8wd-E5-Owx" userLabel="Message">
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" type="user" id="WIW-Im-XnF"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="o22-1p-nvT">
|
||||
<items>
|
||||
<barButtonItem style="plain" systemItem="flexibleSpace" id="BPU-1t-gy3"/>
|
||||
<barButtonItem systemItem="play" id="6LZ-7a-xKf">
|
||||
<connections>
|
||||
<action selector="play:" destination="kYn-Hr-MJq" id="hIx-MW-CFA"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
<barButtonItem systemItem="pause" id="bfY-YY-jiu">
|
||||
<connections>
|
||||
<action selector="pause:" destination="kYn-Hr-MJq" id="dQ5-mO-cMh"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
<barButtonItem style="plain" systemItem="flexibleSpace" id="hSc-4x-myS"/>
|
||||
</items>
|
||||
</toolbar>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="8wd-E5-Owx" firstAttribute="bottom" secondItem="o22-1p-nvT" secondAttribute="top" constant="8" symbolic="YES" type="user" id="CHF-CI-6CL"/>
|
||||
<constraint firstItem="8wd-E5-Owx" firstAttribute="top" secondItem="0dR-Db-Wxo" secondAttribute="bottom" type="user" id="IMP-UH-PGT"/>
|
||||
<constraint firstItem="0dR-Db-Wxo" firstAttribute="trailing" secondItem="JOS-rK-Hts" secondAttribute="trailing" type="default" id="MMJ-ra-NNH"/>
|
||||
<constraint firstAttribute="trailing" secondItem="8wd-E5-Owx" secondAttribute="trailing" constant="20" symbolic="YES" type="user" id="WDw-jT-tbz"/>
|
||||
<constraint firstItem="o22-1p-nvT" firstAttribute="leading" secondItem="JOS-rK-Hts" secondAttribute="leading" constant="20" symbolic="YES" type="user" id="Zvb-2h-v7A"/>
|
||||
<constraint firstItem="0dR-Db-Wxo" firstAttribute="leading" secondItem="JOS-rK-Hts" secondAttribute="leading" type="user" id="bfN-MR-7nC"/>
|
||||
<constraint firstItem="o22-1p-nvT" firstAttribute="bottom" secondItem="JOS-rK-Hts" secondAttribute="bottom" constant="20" symbolic="YES" type="user" id="l3D-e3-Z7R"/>
|
||||
<constraint firstItem="8wd-E5-Owx" firstAttribute="leading" secondItem="JOS-rK-Hts" secondAttribute="leading" constant="20" symbolic="YES" type="user" id="lwj-ty-IXl"/>
|
||||
<constraint firstItem="o22-1p-nvT" firstAttribute="trailing" secondItem="JOS-rK-Hts" secondAttribute="trailing" constant="20" symbolic="YES" type="user" id="mL0-QH-ra6"/>
|
||||
<constraint firstItem="0dR-Db-Wxo" firstAttribute="top" secondItem="JOS-rK-Hts" secondAttribute="top" type="user" id="qsc-BJ-NM7"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
<connections>
|
||||
<outlet property="message_label" destination="8wd-E5-Owx" id="7Xw-cg-3hH"/>
|
||||
<outlet property="pause_button" destination="bfY-YY-jiu" id="GBf-vm-mbR"/>
|
||||
<outlet property="play_button" destination="6LZ-7a-xKf" id="Tk2-4w-9Px"/>
|
||||
<outlet property="video_container_view" destination="0dR-Db-Wxo" id="buw-S2-Ctk"/>
|
||||
<outlet property="video_view" destination="YVj-fp-BtA" id="Qk6-Be-oIR"/>
|
||||
</connections>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="25z-hu-OZW" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
</scene>
|
||||
</scenes>
|
||||
<classes>
|
||||
<class className="EaglUIView" superclassName="UIView">
|
||||
<source key="sourceIdentifier" type="project" relativePath="./Classes/EaglUIView.h"/>
|
||||
</class>
|
||||
<class className="ViewController" superclassName="UIViewController">
|
||||
<source key="sourceIdentifier" type="project" relativePath="./Classes/ViewController.h"/>
|
||||
<relationships>
|
||||
<relationship kind="action" name="pause:"/>
|
||||
<relationship kind="action" name="play:"/>
|
||||
<relationship kind="outlet" name="label" candidateClass="UILabel"/>
|
||||
<relationship kind="outlet" name="message_label" candidateClass="UILabel"/>
|
||||
<relationship kind="outlet" name="pause_button" candidateClass="UIBarButtonItem"/>
|
||||
<relationship kind="outlet" name="play_button" candidateClass="UIBarButtonItem"/>
|
||||
<relationship kind="outlet" name="video_container_view" candidateClass="UIView"/>
|
||||
<relationship kind="outlet" name="video_height_constraint" candidateClass="NSLayoutConstraint"/>
|
||||
<relationship kind="outlet" name="video_view" candidateClass="UIView"/>
|
||||
<relationship kind="outlet" name="video_width_constraint" candidateClass="NSLayoutConstraint"/>
|
||||
</relationships>
|
||||
</class>
|
||||
</classes>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination" type="retina4"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
995
gst-sdk/tutorials/xcode iOS/Tutorial 4/gst_ios_init.c
Normal file
|
@ -0,0 +1,995 @@
|
|||
#include "gst_ios_init.h"
|
||||
|
||||
#if defined(GST_IOS_PLUGIN_COREELEMENTS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(coreelements);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_COREINDEXERS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(coreindexers);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ADDER) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(adder);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APP) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(app);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOCONVERT) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(audioconvert);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIORATE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(audiorate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIORESAMPLE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(audioresample);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOTESTSRC) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(audiotestsrc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FFMPEGCOLORSPACE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(ffmpegcolorspace);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GDP) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(gdp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GIO) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(gio);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PANGO) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(pango);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TYPEFINDFUNCTIONS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(typefindfunctions);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEORATE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(videorate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOSCALE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(videoscale);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOTESTSRC) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(videotestsrc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VOLUME) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(volume);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUTODETECT) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(autodetect);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOFILTER) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(videofilter);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CAMERABIN2) || defined(GST_IOS_PLUGINS_CAPTURE)
|
||||
GST_PLUGIN_STATIC_DECLARE(camerabin2);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ASFMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(asfmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DTSDEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(dtsdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FAAD) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(faad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGDEMUX2) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpegdemux2);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGPSMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpegpsmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGTSDEMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpegtsdemux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGTSMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpegtsmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_A52DEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(a52dec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AMRNB) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(amrnb);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AMRWBDEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(amrwbdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ASF) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(asf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MAD) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEG2DEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpeg2dec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGAUDIOPARSE) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpegaudioparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_REALMEDIA) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(realmedia);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_X264) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(x264);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FFMPEG) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(ffmpeg);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ENCODING) || defined(GST_IOS_PLUGINS_ENCODING)
|
||||
GST_PLUGIN_STATIC_DECLARE(encoding);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_INDVD) || defined(GST_IOS_PLUGINS_DVD)
|
||||
GST_PLUGIN_STATIC_DECLARE(indvd);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDLPCMDEC) || defined(GST_IOS_PLUGINS_DVD)
|
||||
GST_PLUGIN_STATIC_DECLARE(dvdlpcmdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDREAD) || defined(GST_IOS_PLUGINS_DVD)
|
||||
GST_PLUGIN_STATIC_DECLARE(dvdread);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ASSRENDER) || defined(GST_IOS_PLUGINS_CODECS_GPL)
|
||||
GST_PLUGIN_STATIC_DECLARE(assrender);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MMS) || defined(GST_IOS_PLUGINS_NET_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mms);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OSXAUDIO) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(osxaudio);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_EGLGLESSINK) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(eglglessink);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APPLEMEDIA_NONPUBLIC) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(applemedia_nonpublic);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_LIBVISUAL) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_DECLARE(libvisual);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GOOM) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_DECLARE(goom);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GOOM2K1) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_DECLARE(goom2k1);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOVISUALIZERS) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_DECLARE(audiovisualizers);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_URIDECODEBIN) || defined(GST_IOS_PLUGINS_PLAYBACK)
|
||||
GST_PLUGIN_STATIC_DECLARE(uridecodebin);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PLAYBACK) || defined(GST_IOS_PLUGINS_PLAYBACK)
|
||||
GST_PLUGIN_STATIC_DECLARE(playback);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ALPHA) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(alpha);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ALPHACOLOR) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(alphacolor);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOFX) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(audiofx);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CAIRO) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(cairo);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CUTTER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(cutter);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DEBUG) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(debug);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DEINTERLACE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(deinterlace);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_EFFECTV) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(effectv);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_EQUALIZER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(equalizer);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GDKPIXBUF) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(gdkpixbuf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_IMAGEFREEZE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(imagefreeze);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_INTERLEAVE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(interleave);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_LEVEL) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(level);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MULTIFILE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(multifile);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_REPLAYGAIN) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(replaygain);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SHAPEWIPE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(shapewipe);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SMPTE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(smpte);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SPECTRUM) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(spectrum);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOBOX) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videobox);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOCROP) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videocrop);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOMIXER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videomixer);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUTOCONVERT) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(autoconvert);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_BAYER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(bayer);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_COLOREFFECTS) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(coloreffects);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FACEOVERLAY) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(faceoverlay);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FIELDANALYSIS) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(fieldanalysis);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FREEVERB) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(freeverb);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FREI0R) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(frei0r);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GAUDIEFFECTS) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(gaudieffects);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GEOMETRICTRANSFORM) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(geometrictransform);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_INTERLACE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(interlace);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JP2KDECIMATOR) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(jp2kdecimator);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_LIVEADDER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(liveadder);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RAWPARSE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(rawparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_REMOVESILENCE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(removesilence);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SCALETEMPO) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(scaletempo);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SEGMENTCLIP) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(segmentclip);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SMOOTH) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(smooth);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SOUNDTOUCH) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(soundtouch);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SPEED) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(speed);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_STEREO) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(stereo);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOFILTERSBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videofiltersbad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOMEASURE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videomeasure);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOSIGNAL) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videosignal);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SUBPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(subparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OGG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(ogg);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_THEORA) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(theora);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VORBIS) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(vorbis);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_IVORBISDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(ivorbisdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ALAW) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(alaw);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ANNODEX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(annodex);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APETAG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(apetag);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOPARSERS) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(audioparsers);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(auparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AVI) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(avi);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DV) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dv);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FLAC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(flac);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FLV) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(flv);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FLXDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(flxdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ICYDEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(icydemux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ID3DEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(id3demux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ISOMP4) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(isomp4);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JPEG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(jpeg);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MATROSKA) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(matroska);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MULAW) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(mulaw);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MULTIPART) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(multipart);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PNG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(png);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SPEEX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(speex);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TAGLIB) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(taglib);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_WAVENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(wavenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_WAVPACK) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(wavpack);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(wavparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(y4menc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(adpcmdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ADPCMENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(adpcmenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AIFF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(aiff);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CDXAPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(cdxaparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DCCP) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dccp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DTMF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dtmf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVBSUBOVERLAY) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dvbsuboverlay);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDSPU) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dvdspu);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FRAGMENTED) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(fragmented);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_HDVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(hdvparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ID3TAG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(id3tag);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_IVFPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(ivfparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JP2K) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(jp2k);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_KATE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(kate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MVE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(mve);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MXF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(mxf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_NSF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(nsf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_NUVDEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(nuvdemux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OPUS) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(opus);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PCAPPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(pcapparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PNM) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(pnm);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SCHRO) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(schro);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GSTSIREN) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(gstsiren);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SUBENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(subenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TTA) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(tta);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VMNC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(vmnc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VP8) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(vp8);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TCP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(tcp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTSP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(rtsp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(rtp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GSTRTPMANAGER) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(gstrtpmanager);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SOUP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(soup);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_UDP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(udp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DATAURISRC) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(dataurisrc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTPMUX) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(rtpmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTPVP8) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(rtpvp8);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SDP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(sdp);
|
||||
#endif
|
||||
|
||||
void
|
||||
gst_ios_init (void)
|
||||
{
|
||||
gst_init (NULL, NULL);
|
||||
gst_debug_set_colored(FALSE);
|
||||
gst_debug_set_default_threshold(GST_LEVEL_WARNING);
|
||||
|
||||
#if defined(GST_IOS_PLUGIN_COREELEMENTS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(coreelements);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_COREINDEXERS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(coreindexers);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ADDER) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(adder);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APP) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(app);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOCONVERT) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(audioconvert);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIORATE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(audiorate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIORESAMPLE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(audioresample);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOTESTSRC) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(audiotestsrc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FFMPEGCOLORSPACE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(ffmpegcolorspace);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GDP) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(gdp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GIO) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(gio);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PANGO) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(pango);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TYPEFINDFUNCTIONS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(typefindfunctions);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEORATE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(videorate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOSCALE) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(videoscale);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOTESTSRC) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(videotestsrc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VOLUME) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(volume);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUTODETECT) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(autodetect);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOFILTER) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(videofilter);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CAMERABIN2) || defined(GST_IOS_PLUGINS_CAPTURE)
|
||||
GST_PLUGIN_STATIC_REGISTER(camerabin2);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ASFMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(asfmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DTSDEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(dtsdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FAAD) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(faad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGDEMUX2) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpegdemux2);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGPSMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpegpsmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGTSDEMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpegtsdemux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGTSMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpegtsmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_A52DEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(a52dec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AMRNB) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(amrnb);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AMRWBDEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(amrwbdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ASF) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(asf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MAD) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEG2DEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpeg2dec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MPEGAUDIOPARSE) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpegaudioparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_REALMEDIA) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(realmedia);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_X264) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(x264);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FFMPEG) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(ffmpeg);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ENCODING) || defined(GST_IOS_PLUGINS_ENCODING)
|
||||
GST_PLUGIN_STATIC_REGISTER(encoding);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_INDVD) || defined(GST_IOS_PLUGINS_DVD)
|
||||
GST_PLUGIN_STATIC_REGISTER(indvd);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDLPCMDEC) || defined(GST_IOS_PLUGINS_DVD)
|
||||
GST_PLUGIN_STATIC_REGISTER(dvdlpcmdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDREAD) || defined(GST_IOS_PLUGINS_DVD)
|
||||
GST_PLUGIN_STATIC_REGISTER(dvdread);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ASSRENDER) || defined(GST_IOS_PLUGINS_CODECS_GPL)
|
||||
GST_PLUGIN_STATIC_REGISTER(assrender);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MMS) || defined(GST_IOS_PLUGINS_NET_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mms);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OSXAUDIO) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(osxaudio);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_EGLGLESSINK) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(eglglessink);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APPLEMEDIA_NONPUBLIC) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(applemedia_nonpublic);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_LIBVISUAL) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_REGISTER(libvisual);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GOOM) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_REGISTER(goom);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GOOM2K1) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_REGISTER(goom2k1);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOVISUALIZERS) || defined(GST_IOS_PLUGINS_VIS)
|
||||
GST_PLUGIN_STATIC_REGISTER(audiovisualizers);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_URIDECODEBIN) || defined(GST_IOS_PLUGINS_PLAYBACK)
|
||||
GST_PLUGIN_STATIC_REGISTER(uridecodebin);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PLAYBACK) || defined(GST_IOS_PLUGINS_PLAYBACK)
|
||||
GST_PLUGIN_STATIC_REGISTER(playback);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ALPHA) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(alpha);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ALPHACOLOR) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(alphacolor);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOFX) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(audiofx);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CAIRO) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(cairo);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CUTTER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(cutter);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DEBUG) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(debug);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DEINTERLACE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(deinterlace);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_EFFECTV) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(effectv);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_EQUALIZER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(equalizer);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GDKPIXBUF) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(gdkpixbuf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_IMAGEFREEZE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(imagefreeze);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_INTERLEAVE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(interleave);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_LEVEL) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(level);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MULTIFILE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(multifile);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_REPLAYGAIN) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(replaygain);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SHAPEWIPE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(shapewipe);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SMPTE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(smpte);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SPECTRUM) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(spectrum);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOBOX) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videobox);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOCROP) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videocrop);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOMIXER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videomixer);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUTOCONVERT) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(autoconvert);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_BAYER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(bayer);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_COLOREFFECTS) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(coloreffects);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FACEOVERLAY) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(faceoverlay);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FIELDANALYSIS) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(fieldanalysis);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FREEVERB) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(freeverb);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FREI0R) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(frei0r);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GAUDIEFFECTS) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(gaudieffects);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GEOMETRICTRANSFORM) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(geometrictransform);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_INTERLACE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(interlace);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JP2KDECIMATOR) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(jp2kdecimator);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_LIVEADDER) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(liveadder);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RAWPARSE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(rawparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_REMOVESILENCE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(removesilence);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SCALETEMPO) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(scaletempo);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SEGMENTCLIP) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(segmentclip);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SMOOTH) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(smooth);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SOUNDTOUCH) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(soundtouch);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SPEED) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(speed);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_STEREO) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(stereo);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOFILTERSBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videofiltersbad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOMEASURE) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videomeasure);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOSIGNAL) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videosignal);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SUBPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(subparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OGG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(ogg);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_THEORA) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(theora);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VORBIS) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(vorbis);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_IVORBISDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(ivorbisdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ALAW) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(alaw);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ANNODEX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(annodex);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APETAG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(apetag);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOPARSERS) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(audioparsers);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(auparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AVI) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(avi);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DV) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dv);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FLAC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(flac);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FLV) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(flv);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FLXDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(flxdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ICYDEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(icydemux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ID3DEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(id3demux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ISOMP4) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(isomp4);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JPEG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(jpeg);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MATROSKA) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(matroska);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MULAW) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(mulaw);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MULTIPART) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(multipart);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PNG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(png);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SPEEX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(speex);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TAGLIB) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(taglib);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_WAVENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(wavenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_WAVPACK) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(wavpack);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_WAVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(wavparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_Y4MENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(y4menc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ADPCMDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(adpcmdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ADPCMENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(adpcmenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AIFF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(aiff);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_CDXAPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(cdxaparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DCCP) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dccp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DTMF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dtmf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVBSUBOVERLAY) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dvbsuboverlay);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDSPU) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dvdspu);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_FRAGMENTED) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(fragmented);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_HDVPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(hdvparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ID3TAG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(id3tag);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_IVFPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(ivfparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JP2K) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(jp2k);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_KATE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(kate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MVE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(mve);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MXF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(mxf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_NSF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(nsf);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_NUVDEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(nuvdemux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OPUS) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(opus);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PCAPPARSE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(pcapparse);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_PNM) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(pnm);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SCHRO) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(schro);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GSTSIREN) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(gstsiren);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SUBENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(subenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TTA) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(tta);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VMNC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(vmnc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VP8) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(vp8);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_TCP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(tcp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTSP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(rtsp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(rtp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GSTRTPMANAGER) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(gstrtpmanager);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SOUP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(soup);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_UDP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(udp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DATAURISRC) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(dataurisrc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTPMUX) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(rtpmux);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RTPVP8) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(rtpvp8);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SDP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(sdp);
|
||||
#endif
|
||||
}
|
25
gst-sdk/tutorials/xcode iOS/Tutorial 4/gst_ios_init.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef __GST_IOS_INIT_H__
|
||||
#define __GST_IOS_INIT_H__
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
/* Uncomment each line to enable the plugin categories that your application needs.
|
||||
* You can also enable individual plugins. See gst_ios_init.c to see their names
|
||||
*/
|
||||
#define GST_IOS_PLUGINS_CORE
|
||||
//#define GST_IOS_PLUGINS_CAPTURE
|
||||
//#define GST_IOS_PLUGINS_CODECS_RESTRICTED
|
||||
//#define GST_IOS_PLUGINS_ENCODING
|
||||
//#define GST_IOS_PLUGINS_DVD
|
||||
//#define GST_IOS_PLUGINS_CODECS_GPL
|
||||
//#define GST_IOS_PLUGINS_NET_RESTRICTED
|
||||
#define GST_IOS_PLUGINS_SYS
|
||||
//#define GST_IOS_PLUGINS_VIS
|
||||
#define GST_IOS_PLUGINS_PLAYBACK
|
||||
#define GST_IOS_PLUGINS_EFFECTS
|
||||
//#define GST_IOS_PLUGINS_CODECS
|
||||
//#define GST_IOS_PLUGINS_NET
|
||||
|
||||
void gst_ios_init ();
|
||||
|
||||
#endif
|
13
gst-sdk/tutorials/xcode iOS/Tutorial 4/main.m
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#include "gst_ios_init.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@autoreleasepool {
|
||||
gst_ios_init();
|
||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
||||
}
|
||||
}
|