mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 11:51:34 +00:00
playback/player: Add iOS app
This commit is contained in:
parent
b34e62884c
commit
7071c121b6
22 changed files with 2652 additions and 0 deletions
437
playback/player/ios/GstPlay.xcodeproj/project.pbxproj
Normal file
437
playback/player/ios/GstPlay.xcodeproj/project.pbxproj
Normal file
|
@ -0,0 +1,437 @@
|
|||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
AD2B881F198D631B0070367B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD2B881E198D631B0070367B /* Foundation.framework */; };
|
||||
AD2B8821198D631B0070367B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD2B8820198D631B0070367B /* CoreGraphics.framework */; };
|
||||
AD2B8823198D631B0070367B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD2B8822198D631B0070367B /* UIKit.framework */; };
|
||||
AD2B8825198D631B0070367B /* GStreamer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD2B8824198D631B0070367B /* GStreamer.framework */; };
|
||||
AD2B882B198D631B0070367B /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = AD2B8829198D631B0070367B /* InfoPlist.strings */; };
|
||||
AD2B882D198D631B0070367B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2B882C198D631B0070367B /* main.m */; };
|
||||
AD2B8831198D631B0070367B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2B8830198D631B0070367B /* AppDelegate.m */; };
|
||||
AD2B8833198D631B0070367B /* fonts.conf in Resources */ = {isa = PBXBuildFile; fileRef = AD2B8832198D631B0070367B /* fonts.conf */; };
|
||||
AD2B8835198D631B0070367B /* Ubuntu-R.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AD2B8834198D631B0070367B /* Ubuntu-R.ttf */; };
|
||||
AD2B8837198D631B0070367B /* gst_ios_init.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2B8836198D631B0070367B /* gst_ios_init.m */; };
|
||||
AD2B8858198D637A0070367B /* EaglUIVIew.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2B8857198D637A0070367B /* EaglUIVIew.m */; };
|
||||
AD2B885B198D65470070367B /* MainStoryboard_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AD2B8859198D65470070367B /* MainStoryboard_iPhone.storyboard */; };
|
||||
AD2B885C198D65470070367B /* MainStoryboard_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AD2B885A198D65470070367B /* MainStoryboard_iPad.storyboard */; };
|
||||
AD2B8861198D65780070367B /* LibraryViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2B885E198D65780070367B /* LibraryViewController.m */; };
|
||||
AD2B8862198D65780070367B /* VideoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AD2B8860198D65780070367B /* VideoViewController.m */; };
|
||||
AD2B886C198D69ED0070367B /* gstplayer.c in Sources */ = {isa = PBXBuildFile; fileRef = AD2B886A198D69ED0070367B /* gstplayer.c */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
AD2B881B198D631B0070367B /* GstPlay.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GstPlay.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
AD2B881E198D631B0070367B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
AD2B8820198D631B0070367B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
||||
AD2B8822198D631B0070367B /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
AD2B8824198D631B0070367B /* GStreamer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GStreamer.framework; path = Library/Frameworks/GStreamer.framework; sourceTree = DEVELOPER_DIR; };
|
||||
AD2B8828198D631B0070367B /* GstPlay-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GstPlay-Info.plist"; sourceTree = "<group>"; };
|
||||
AD2B882A198D631B0070367B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
AD2B882C198D631B0070367B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
AD2B882E198D631B0070367B /* GstPlay-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GstPlay-Prefix.pch"; sourceTree = "<group>"; };
|
||||
AD2B882F198D631B0070367B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||
AD2B8830198D631B0070367B /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
||||
AD2B8832198D631B0070367B /* fonts.conf */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = fonts.conf; sourceTree = "<group>"; };
|
||||
AD2B8834198D631B0070367B /* Ubuntu-R.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Ubuntu-R.ttf"; sourceTree = "<group>"; };
|
||||
AD2B8836198D631B0070367B /* gst_ios_init.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = gst_ios_init.m; sourceTree = "<group>"; };
|
||||
AD2B8838198D631B0070367B /* gst_ios_init.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = gst_ios_init.h; sourceTree = "<group>"; };
|
||||
AD2B8840198D631B0070367B /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
|
||||
AD2B8856198D637A0070367B /* EaglUIVIew.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EaglUIVIew.h; sourceTree = "<group>"; };
|
||||
AD2B8857198D637A0070367B /* EaglUIVIew.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EaglUIVIew.m; sourceTree = "<group>"; };
|
||||
AD2B8859198D65470070367B /* MainStoryboard_iPhone.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = MainStoryboard_iPhone.storyboard; sourceTree = "<group>"; };
|
||||
AD2B885A198D65470070367B /* MainStoryboard_iPad.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = MainStoryboard_iPad.storyboard; sourceTree = "<group>"; };
|
||||
AD2B885D198D65780070367B /* LibraryViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LibraryViewController.h; sourceTree = "<group>"; };
|
||||
AD2B885E198D65780070367B /* LibraryViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LibraryViewController.m; sourceTree = "<group>"; };
|
||||
AD2B885F198D65780070367B /* VideoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VideoViewController.h; sourceTree = "<group>"; };
|
||||
AD2B8860198D65780070367B /* VideoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VideoViewController.m; sourceTree = "<group>"; };
|
||||
AD2B886A198D69ED0070367B /* gstplayer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gstplayer.c; sourceTree = "<group>"; };
|
||||
AD2B886B198D69ED0070367B /* gstplayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gstplayer.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
AD2B8818198D631B0070367B /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
AD2B8821198D631B0070367B /* CoreGraphics.framework in Frameworks */,
|
||||
AD2B8825198D631B0070367B /* GStreamer.framework in Frameworks */,
|
||||
AD2B8823198D631B0070367B /* UIKit.framework in Frameworks */,
|
||||
AD2B881F198D631B0070367B /* Foundation.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
AD2B8812198D631B0070367B = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B8868198D69ED0070367B /* gst */,
|
||||
AD2B8826198D631B0070367B /* GstPlay */,
|
||||
AD2B881D198D631B0070367B /* Frameworks */,
|
||||
AD2B881C198D631B0070367B /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AD2B881C198D631B0070367B /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B881B198D631B0070367B /* GstPlay.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AD2B881D198D631B0070367B /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B881E198D631B0070367B /* Foundation.framework */,
|
||||
AD2B8820198D631B0070367B /* CoreGraphics.framework */,
|
||||
AD2B8822198D631B0070367B /* UIKit.framework */,
|
||||
AD2B8824198D631B0070367B /* GStreamer.framework */,
|
||||
AD2B8840198D631B0070367B /* XCTest.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AD2B8826198D631B0070367B /* GstPlay */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B8856198D637A0070367B /* EaglUIVIew.h */,
|
||||
AD2B8857198D637A0070367B /* EaglUIVIew.m */,
|
||||
AD2B882F198D631B0070367B /* AppDelegate.h */,
|
||||
AD2B8830198D631B0070367B /* AppDelegate.m */,
|
||||
AD2B8859198D65470070367B /* MainStoryboard_iPhone.storyboard */,
|
||||
AD2B885A198D65470070367B /* MainStoryboard_iPad.storyboard */,
|
||||
AD2B885D198D65780070367B /* LibraryViewController.h */,
|
||||
AD2B885E198D65780070367B /* LibraryViewController.m */,
|
||||
AD2B885F198D65780070367B /* VideoViewController.h */,
|
||||
AD2B8860198D65780070367B /* VideoViewController.m */,
|
||||
AD2B8827198D631B0070367B /* Supporting Files */,
|
||||
);
|
||||
path = GstPlay;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AD2B8827198D631B0070367B /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B8828198D631B0070367B /* GstPlay-Info.plist */,
|
||||
AD2B8829198D631B0070367B /* InfoPlist.strings */,
|
||||
AD2B882C198D631B0070367B /* main.m */,
|
||||
AD2B882E198D631B0070367B /* GstPlay-Prefix.pch */,
|
||||
AD2B8832198D631B0070367B /* fonts.conf */,
|
||||
AD2B8834198D631B0070367B /* Ubuntu-R.ttf */,
|
||||
AD2B8836198D631B0070367B /* gst_ios_init.m */,
|
||||
AD2B8838198D631B0070367B /* gst_ios_init.h */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AD2B8868198D69ED0070367B /* gst */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B8869198D69ED0070367B /* player */,
|
||||
);
|
||||
name = gst;
|
||||
path = ../lib/gst;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AD2B8869198D69ED0070367B /* player */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AD2B886A198D69ED0070367B /* gstplayer.c */,
|
||||
AD2B886B198D69ED0070367B /* gstplayer.h */,
|
||||
);
|
||||
path = player;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
AD2B881A198D631B0070367B /* GstPlay */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = AD2B8850198D631B0070367B /* Build configuration list for PBXNativeTarget "GstPlay" */;
|
||||
buildPhases = (
|
||||
AD2B8817198D631B0070367B /* Sources */,
|
||||
AD2B8818198D631B0070367B /* Frameworks */,
|
||||
AD2B8819198D631B0070367B /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = GstPlay;
|
||||
productName = GstPlay;
|
||||
productReference = AD2B881B198D631B0070367B /* GstPlay.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
AD2B8813198D631B0070367B /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0510;
|
||||
ORGANIZATIONNAME = "Sebastian Dröge";
|
||||
};
|
||||
buildConfigurationList = AD2B8816198D631B0070367B /* Build configuration list for PBXProject "GstPlay" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
);
|
||||
mainGroup = AD2B8812198D631B0070367B;
|
||||
productRefGroup = AD2B881C198D631B0070367B /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
AD2B881A198D631B0070367B /* GstPlay */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
AD2B8819198D631B0070367B /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
AD2B885C198D65470070367B /* MainStoryboard_iPad.storyboard in Resources */,
|
||||
AD2B885B198D65470070367B /* MainStoryboard_iPhone.storyboard in Resources */,
|
||||
AD2B8835198D631B0070367B /* Ubuntu-R.ttf in Resources */,
|
||||
AD2B8833198D631B0070367B /* fonts.conf in Resources */,
|
||||
AD2B882B198D631B0070367B /* InfoPlist.strings in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
AD2B8817198D631B0070367B /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
AD2B8861198D65780070367B /* LibraryViewController.m in Sources */,
|
||||
AD2B8831198D631B0070367B /* AppDelegate.m in Sources */,
|
||||
AD2B8862198D65780070367B /* VideoViewController.m in Sources */,
|
||||
AD2B8858198D637A0070367B /* EaglUIVIew.m in Sources */,
|
||||
AD2B882D198D631B0070367B /* main.m in Sources */,
|
||||
AD2B8837198D631B0070367B /* gst_ios_init.m in Sources */,
|
||||
AD2B886C198D69ED0070367B /* gstplayer.c in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
AD2B8829198D631B0070367B /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
AD2B882A198D631B0070367B /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
AD2B884E198D631B0070367B /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
AD2B884F198D631B0070367B /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
AD2B8851198D631B0070367B /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = armv7;
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"~/Library/Developer/GStreamer/iPhone.sdk",
|
||||
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "GstPlay/GstPlay-Prefix.pch";
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"\"~/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers\"",
|
||||
../lib,
|
||||
);
|
||||
INFOPLIST_FILE = "GstPlay/GstPlay-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 6.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)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
AD2B8852198D631B0070367B /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = armv7;
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"~/Library/Developer/GStreamer/iPhone.sdk",
|
||||
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "GstPlay/GstPlay-Prefix.pch";
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"\"~/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers\"",
|
||||
../lib,
|
||||
);
|
||||
INFOPLIST_FILE = "GstPlay/GstPlay-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 6.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)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
AD2B8816198D631B0070367B /* Build configuration list for PBXProject "GstPlay" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
AD2B884E198D631B0070367B /* Debug */,
|
||||
AD2B884F198D631B0070367B /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
AD2B8850198D631B0070367B /* Build configuration list for PBXNativeTarget "GstPlay" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
AD2B8851198D631B0070367B /* Debug */,
|
||||
AD2B8852198D631B0070367B /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = AD2B8813198D631B0070367B /* Project object */;
|
||||
}
|
7
playback/player/ios/GstPlay.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
7
playback/player/ios/GstPlay.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:GstPlay.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0510"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AD2B881A198D631B0070367B"
|
||||
BuildableName = "GstPlay.app"
|
||||
BlueprintName = "GstPlay"
|
||||
ReferencedContainer = "container:GstPlay.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AD2B883E198D631B0070367B"
|
||||
BuildableName = "GstPlayTests.xctest"
|
||||
BlueprintName = "GstPlayTests"
|
||||
ReferencedContainer = "container:GstPlay.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AD2B881A198D631B0070367B"
|
||||
BuildableName = "GstPlay.app"
|
||||
BlueprintName = "GstPlay"
|
||||
ReferencedContainer = "container:GstPlay.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AD2B881A198D631B0070367B"
|
||||
BuildableName = "GstPlay.app"
|
||||
BlueprintName = "GstPlay"
|
||||
ReferencedContainer = "container:GstPlay.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AD2B881A198D631B0070367B"
|
||||
BuildableName = "GstPlay.app"
|
||||
BlueprintName = "GstPlay"
|
||||
ReferencedContainer = "container:GstPlay.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -0,0 +1,27 @@
|
|||
<?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>SchemeUserState</key>
|
||||
<dict>
|
||||
<key>GstPlay.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
<dict>
|
||||
<key>AD2B881A198D631B0070367B</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>AD2B883E198D631B0070367B</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
15
playback/player/ios/GstPlay/AppDelegate.h
Normal file
15
playback/player/ios/GstPlay/AppDelegate.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
//
|
||||
// AppDelegate.h
|
||||
// GstPlay
|
||||
//
|
||||
// Created by Sebastian Dröge on 02/08/14.
|
||||
// Copyright (c) 2014 Sebastian Dröge. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
||||
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
|
||||
@end
|
45
playback/player/ios/GstPlay/AppDelegate.m
Normal file
45
playback/player/ios/GstPlay/AppDelegate.m
Normal file
|
@ -0,0 +1,45 @@
|
|||
//
|
||||
// AppDelegate.m
|
||||
// GstPlay
|
||||
//
|
||||
// Created by Sebastian Dröge on 02/08/14.
|
||||
// Copyright (c) 2014 Sebastian Dröge. All rights reserved.
|
||||
//
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
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
|
11
playback/player/ios/GstPlay/EaglUIVIew.h
Normal file
11
playback/player/ios/GstPlay/EaglUIVIew.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#include <OpenGLES/ES2/gl.h>
|
||||
#include <OpenGLES/ES2/glext.h>
|
||||
|
||||
@interface EaglUIView : UIView
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
13
playback/player/ios/GstPlay/EaglUIVIew.m
Normal file
13
playback/player/ios/GstPlay/EaglUIVIew.m
Normal file
|
@ -0,0 +1,13 @@
|
|||
#import "EaglUIVIew.h"
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
@implementation EaglUIView
|
||||
|
||||
|
||||
+ (Class) layerClass
|
||||
{
|
||||
return [CAEAGLLayer class];
|
||||
}
|
||||
|
||||
@end
|
49
playback/player/ios/GstPlay/GstPlay-Info.plist
Normal file
49
playback/player/ios/GstPlay/GstPlay-Info.plist
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?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>CFBundleIdentifier</key>
|
||||
<string>org.freedesktop.gstreamer.${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>
|
16
playback/player/ios/GstPlay/GstPlay-Prefix.pch
Normal file
16
playback/player/ios/GstPlay/GstPlay-Prefix.pch
Normal file
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// Prefix header
|
||||
//
|
||||
// The contents of this file are implicitly included at the beginning of every source file.
|
||||
//
|
||||
|
||||
#import <Availability.h>
|
||||
|
||||
#ifndef __IPHONE_3_0
|
||||
#warning "This project uses features only available in iOS SDK 3.0 and later."
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
12
playback/player/ios/GstPlay/LibraryViewController.h
Normal file
12
playback/player/ios/GstPlay/LibraryViewController.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface LibraryViewController : UITableViewController
|
||||
{
|
||||
NSArray *libraryEntries;
|
||||
NSArray *mediaEntries;
|
||||
NSArray *onlineEntries;
|
||||
}
|
||||
|
||||
- (IBAction)refresh:(id)sender;
|
||||
|
||||
@end
|
165
playback/player/ios/GstPlay/LibraryViewController.m
Normal file
165
playback/player/ios/GstPlay/LibraryViewController.m
Normal file
|
@ -0,0 +1,165 @@
|
|||
#import "LibraryViewController.h"
|
||||
#import "VideoViewController.h"
|
||||
#import <AssetsLibrary/AssetsLibrary.h>
|
||||
|
||||
@interface LibraryViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation LibraryViewController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
[super setTitle:@"Library"];
|
||||
[self refreshMediaItems];
|
||||
}
|
||||
|
||||
- (IBAction)refresh:(id)sender
|
||||
{
|
||||
[self refreshMediaItems];
|
||||
[self.tableView reloadData];
|
||||
}
|
||||
|
||||
static NSString *CellIdentifier = @"CellIdentifier";
|
||||
|
||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
|
||||
return 3;
|
||||
}
|
||||
|
||||
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
switch (section)
|
||||
{
|
||||
case 0: return @"Photo library";
|
||||
case 1: return @"iTunes file sharing";
|
||||
default: return @"Online files";
|
||||
}
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
||||
switch (section) {
|
||||
case 0:
|
||||
return [self->libraryEntries count];
|
||||
case 1:
|
||||
return [self->mediaEntries count];
|
||||
case 2:
|
||||
return [self->onlineEntries count];
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
|
||||
// Configure Cell
|
||||
UILabel *title = (UILabel *)[cell.contentView viewWithTag:10];
|
||||
UILabel *subtitle = (UILabel *)[cell.contentView viewWithTag:11];
|
||||
|
||||
switch (indexPath.section) {
|
||||
case 0: subtitle.text = [self->libraryEntries objectAtIndex:indexPath.item];
|
||||
break;
|
||||
case 1: subtitle.text = [self->mediaEntries objectAtIndex:indexPath.item];
|
||||
break;
|
||||
case 2: subtitle.text = [self->onlineEntries objectAtIndex:indexPath.item];
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
NSArray *components = [subtitle.text pathComponents];
|
||||
title.text = components.lastObject;
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
if ([segue.identifier isEqualToString:@"playVideo"]) {
|
||||
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
|
||||
VideoViewController *destViewController = segue.destinationViewController;
|
||||
UITableViewCell *cell = [[self tableView] cellForRowAtIndexPath:indexPath];
|
||||
UILabel *label = (UILabel *)[cell.contentView viewWithTag:10];
|
||||
destViewController.title = label.text;
|
||||
label = (UILabel *)[cell.contentView viewWithTag:11];
|
||||
destViewController.uri = label.text;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)refreshMediaItems {
|
||||
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSAllDomainsMask, YES);
|
||||
NSString *docsPath = [paths objectAtIndex:0];
|
||||
|
||||
/* Entries from the Photo Library */
|
||||
NSMutableArray *entries = [[NSMutableArray alloc] init];
|
||||
ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
|
||||
[library enumerateGroupsWithTypes:ALAssetsGroupAll
|
||||
usingBlock:^(ALAssetsGroup *group, BOOL *stop)
|
||||
{
|
||||
if (group) {
|
||||
[group enumerateAssetsUsingBlock:^(ALAsset *result, NSUInteger index, BOOL *stop)
|
||||
{
|
||||
if(result) {
|
||||
[entries addObject:[NSString stringWithFormat:@"%@",[result valueForProperty:ALAssetPropertyAssetURL]]];
|
||||
*stop = NO;
|
||||
|
||||
}
|
||||
}];
|
||||
} else {
|
||||
[self.tableView reloadData];
|
||||
}
|
||||
}
|
||||
failureBlock:^(NSError *error)
|
||||
{
|
||||
NSLog(@"ERROR");
|
||||
}
|
||||
];
|
||||
self->libraryEntries = entries;
|
||||
|
||||
/* Retrieve entries from iTunes file sharing */
|
||||
entries = [[NSMutableArray alloc] init];
|
||||
for (NSString *e in [[NSFileManager defaultManager] contentsOfDirectoryAtPath:docsPath error:nil])
|
||||
{
|
||||
[entries addObject:[NSString stringWithFormat:@"file://%@/%@", docsPath, e]];
|
||||
}
|
||||
self->mediaEntries = entries;
|
||||
|
||||
/* Hardcoded list of Online media files */
|
||||
entries = [[NSMutableArray alloc] init];
|
||||
|
||||
// Big Buck Bunny
|
||||
[entries addObject:@"http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi"];
|
||||
[entries addObject:@"http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov"];
|
||||
[entries addObject:@"http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.ogg"];
|
||||
[entries addObject:@"http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi"];
|
||||
|
||||
// Sintel
|
||||
[entries addObject:@"http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv"];
|
||||
[entries addObject:@"http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-480p.mp4"];
|
||||
[entries addObject:@"http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-480p.ogv"];
|
||||
[entries addObject:@"http://mirrorblender.top-ix.org/movies/sintel-1024-surround.mp4"];
|
||||
|
||||
// Tears of Steel
|
||||
[entries addObject:@"http://blender-mirror.kino3d.org/mango/download.blender.org/demo/movies/ToS/tears_of_steel_720p.mkv"];
|
||||
[entries addObject:@"http://blender-mirror.kino3d.org/mango/download.blender.org/demo/movies/ToS/tears_of_steel_720p.mov"];
|
||||
[entries addObject:@"http://media.xiph.org/mango/tears_of_steel_1080p.webm"];
|
||||
|
||||
// Radio stations
|
||||
[entries addObject:@"http://radio.hbr1.com:19800/trance.ogg"];
|
||||
[entries addObject:@"http://radio.hbr1.com:19800/tronic.aac"];
|
||||
|
||||
// Non-existing entries (to debug error reporting facilities)
|
||||
[entries addObject:@"http://non-existing.org/Non_Existing_Server"];
|
||||
[entries addObject:@"http://docs.gstreamer.com/Non_Existing_File"];
|
||||
|
||||
self->onlineEntries = entries;
|
||||
}
|
||||
|
||||
@end
|
180
playback/player/ios/GstPlay/MainStoryboard_iPad.storyboard
Normal file
180
playback/player/ios/GstPlay/MainStoryboard_iPad.storyboard
Normal file
|
@ -0,0 +1,180 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="b7k-ZL-0G1">
|
||||
<dependencies>
|
||||
<deployment defaultVersion="1552" identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--Navigation Controller-->
|
||||
<scene sceneID="3gA-ZI-2k3">
|
||||
<objects>
|
||||
<navigationController definesPresentationContext="YES" id="b7k-ZL-0G1" sceneMemberID="viewController">
|
||||
<navigationBar key="navigationBar" contentMode="scaleToFill" id="zhK-zc-ohc">
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</navigationBar>
|
||||
<connections>
|
||||
<segue destination="VW0-ax-bPv" kind="relationship" relationship="rootViewController" id="bWs-EK-FdN"/>
|
||||
</connections>
|
||||
</navigationController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="Sqh-T0-zkr" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-1459" y="-199"/>
|
||||
</scene>
|
||||
<!--VideoViewController-->
|
||||
<scene sceneID="P93-nn-HBJ">
|
||||
<objects>
|
||||
<viewController title="Playback" id="z7O-8l-Zeo" userLabel="VideoViewController" customClass="VideoViewController" sceneMemberID="viewController">
|
||||
<layoutGuides>
|
||||
<viewControllerLayoutGuide type="top" id="tYu-BR-4pC"/>
|
||||
<viewControllerLayoutGuide type="bottom" id="gDN-cX-tzD"/>
|
||||
</layoutGuides>
|
||||
<view key="view" contentMode="scaleToFill" id="CqS-Gu-I1O">
|
||||
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="xWd-bg-0b6" userLabel="VideoContainer">
|
||||
<rect key="frame" x="0.0" y="0.0" width="768" height="959"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6tN-97-YoQ" userLabel="Video" customClass="EaglUIView">
|
||||
<rect key="frame" x="224" y="360" width="320" height="240"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="240" id="A9A-eK-7QX"/>
|
||||
<constraint firstAttribute="width" constant="320" 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" id="UYa-oM-cdf"/>
|
||||
<constraint firstAttribute="centerX" secondItem="6tN-97-YoQ" secondAttribute="centerX" id="w9H-W0-MfF"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MUi-CE-Ydy">
|
||||
<rect key="frame" x="0.0" y="980" width="768" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="EwL-Ma-A4v"/>
|
||||
</constraints>
|
||||
<items>
|
||||
<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" id="s39-nx-e0L">
|
||||
<textField key="customView" opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="00:00:00 / 00:00:00" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" id="G8q-Tu-Qx0" userLabel="Time">
|
||||
<rect key="frame" x="67" y="7" width="140" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
</barButtonItem>
|
||||
<barButtonItem style="plain" id="2n0-TO-8Ss">
|
||||
<slider key="customView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="1" id="ufs-E5-87w" userLabel="Slider">
|
||||
<rect key="frame" x="217" y="11" width="118" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<connections>
|
||||
<action selector="sliderTouchDown:" destination="z7O-8l-Zeo" eventType="touchDown" id="yV6-eN-VUb"/>
|
||||
<action selector="sliderTouchUp:" destination="z7O-8l-Zeo" eventType="touchCancel" id="OyS-WZ-sEk"/>
|
||||
<action selector="sliderTouchUp:" destination="z7O-8l-Zeo" eventType="touchUpOutside" id="Vfz-se-pJg"/>
|
||||
<action selector="sliderTouchUp:" destination="z7O-8l-Zeo" eventType="touchUpInside" id="kZF-uW-GRo"/>
|
||||
<action selector="sliderValueChanged:" destination="z7O-8l-Zeo" eventType="valueChanged" id="cwm-pm-BfT"/>
|
||||
</connections>
|
||||
</slider>
|
||||
</barButtonItem>
|
||||
</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" id="4vm-hF-9E8"/>
|
||||
<constraint firstItem="xWd-bg-0b6" firstAttribute="top" secondItem="CqS-Gu-I1O" secondAttribute="top" id="MXr-HK-07f"/>
|
||||
<constraint firstAttribute="trailing" secondItem="xWd-bg-0b6" secondAttribute="trailing" id="NGT-7D-rHD"/>
|
||||
<constraint firstItem="MUi-CE-Ydy" firstAttribute="leading" secondItem="CqS-Gu-I1O" secondAttribute="leading" constant="20" symbolic="YES" id="OM9-gE-OVP"/>
|
||||
<constraint firstItem="xWd-bg-0b6" firstAttribute="leading" secondItem="CqS-Gu-I1O" secondAttribute="leading" id="XO5-WJ-Y3R"/>
|
||||
<constraint firstItem="MUi-CE-Ydy" firstAttribute="bottom" secondItem="CqS-Gu-I1O" secondAttribute="bottom" constant="20" symbolic="YES" id="w6K-xy-EJe"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<navigationItem key="navigationItem" id="fGF-kQ-bge"/>
|
||||
<simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
|
||||
<connections>
|
||||
<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="time_label" destination="G8q-Tu-Qx0" id="jpR-6u-zp0"/>
|
||||
<outlet property="time_slider" destination="ufs-E5-87w" id="ZUd-jO-4qN"/>
|
||||
<outlet property="toolbar" destination="MUi-CE-Ydy" id="Lme-0P-4Xq"/>
|
||||
<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>
|
||||
<point key="canvasLocation" x="439" y="-199"/>
|
||||
</scene>
|
||||
<!--LibraryViewController-->
|
||||
<scene sceneID="bq0-Ch-DBo">
|
||||
<objects>
|
||||
<tableViewController title="Library" id="VW0-ax-bPv" userLabel="LibraryViewController" customClass="LibraryViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="hAr-jJ-10J">
|
||||
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
||||
<prototypes>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CellIdentifier" textLabel="HoX-KW-H9G" detailTextLabel="iD6-8p-XIU" style="IBUITableViewCellStyleSubtitle" id="ujV-TF-eMq">
|
||||
<rect key="frame" x="0.0" y="119" width="768" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ujV-TF-eMq" id="SAN-nE-evy">
|
||||
<rect key="frame" x="0.0" y="0.0" width="735" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" tag="10" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="HoX-KW-H9G">
|
||||
<rect key="frame" x="15" y="2" width="36" height="22"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" tag="11" contentMode="left" text="Subtitle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="iD6-8p-XIU">
|
||||
<rect key="frame" x="15" y="24" width="50" height="17"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</label>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<segue destination="z7O-8l-Zeo" kind="push" identifier="playVideo" id="wKB-w6-zJS"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
</prototypes>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="VW0-ax-bPv" id="9qF-zP-TH5"/>
|
||||
<outlet property="delegate" destination="VW0-ax-bPv" id="9Ss-rm-lAe"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<navigationItem key="navigationItem" id="G3n-WN-bmw">
|
||||
<barButtonItem key="rightBarButtonItem" systemItem="refresh" id="Gpf-LU-6E1" userLabel="Refresh">
|
||||
<connections>
|
||||
<action selector="refresh:" destination="VW0-ax-bPv" id="nUp-eS-LmM"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
</navigationItem>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="7RK-lx-45a" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-478" y="-199"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
185
playback/player/ios/GstPlay/MainStoryboard_iPhone.storyboard
Normal file
185
playback/player/ios/GstPlay/MainStoryboard_iPhone.storyboard
Normal file
|
@ -0,0 +1,185 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="z4I-U6-JHy">
|
||||
<dependencies>
|
||||
<deployment defaultVersion="1552" identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--Navigation Controller-->
|
||||
<scene sceneID="2zM-sj-9dA">
|
||||
<objects>
|
||||
<navigationController definesPresentationContext="YES" id="z4I-U6-JHy" sceneMemberID="viewController">
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
<navigationBar key="navigationBar" contentMode="scaleToFill" id="eHD-Ir-W2J">
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</navigationBar>
|
||||
<connections>
|
||||
<segue destination="bdY-7c-pia" kind="relationship" relationship="rootViewController" id="2oM-BQ-UIl"/>
|
||||
</connections>
|
||||
</navigationController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="7VH-OE-ZqU" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-1459" y="-199"/>
|
||||
</scene>
|
||||
<!--VideoViewController-->
|
||||
<scene sceneID="cnz-j4-g9W">
|
||||
<objects>
|
||||
<viewController title="Playback" id="iMo-Z9-PrL" userLabel="VideoViewController" customClass="VideoViewController" sceneMemberID="viewController">
|
||||
<layoutGuides>
|
||||
<viewControllerLayoutGuide type="top" id="amE-tW-f07"/>
|
||||
<viewControllerLayoutGuide type="bottom" id="uvN-Av-Fcm"/>
|
||||
</layoutGuides>
|
||||
<view key="view" contentMode="scaleToFill" id="zgN-eK-M4Q">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nA3-W2-kn7" userLabel="VideoContainer">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="481"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WHW-sv-bWc" userLabel="Video" customClass="EaglUIView">
|
||||
<rect key="frame" x="0.0" y="121" width="320" height="240"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="240" id="5z2-ux-czd"/>
|
||||
<constraint firstAttribute="width" constant="320" id="76i-Rz-yha"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="centerY" secondItem="WHW-sv-bWc" secondAttribute="centerY" id="3wK-Zr-bQY"/>
|
||||
<constraint firstAttribute="centerX" secondItem="WHW-sv-bWc" secondAttribute="centerX" id="X5U-dh-PaZ"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A2w-65-QSF">
|
||||
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="apr-w6-VYs"/>
|
||||
</constraints>
|
||||
<items>
|
||||
<barButtonItem style="plain" systemItem="flexibleSpace" id="Ixt-So-LpU"/>
|
||||
<barButtonItem systemItem="play" id="8Yb-MS-rAF">
|
||||
<connections>
|
||||
<action selector="play:" destination="iMo-Z9-PrL" id="9nM-or-ZY7"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
<barButtonItem systemItem="pause" id="nH5-s3-C0i">
|
||||
<connections>
|
||||
<action selector="pause:" destination="iMo-Z9-PrL" id="mef-Ij-Agl"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
<barButtonItem style="plain" id="VUJ-y8-aWS">
|
||||
<textField key="customView" opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="00:00:00 / 00:00:00" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" id="R6T-PH-VPd" userLabel="Time">
|
||||
<rect key="frame" x="116" y="7" width="139" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
</barButtonItem>
|
||||
<barButtonItem style="plain" systemItem="flexibleSpace" id="LSl-TA-0qV"/>
|
||||
</items>
|
||||
</toolbar>
|
||||
<slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="4Ns-t9-gs7" userLabel="Slider">
|
||||
<rect key="frame" x="-2" y="493" width="324" height="31"/>
|
||||
<connections>
|
||||
<action selector="sliderTouchDown:" destination="iMo-Z9-PrL" eventType="touchDown" id="jGO-Pw-b5d"/>
|
||||
<action selector="sliderTouchUp:" destination="iMo-Z9-PrL" eventType="touchCancel" id="L1U-aK-FFn"/>
|
||||
<action selector="sliderTouchUp:" destination="iMo-Z9-PrL" eventType="touchUpInside" id="jRZ-vw-FQR"/>
|
||||
<action selector="sliderTouchUp:" destination="iMo-Z9-PrL" eventType="touchUpOutside" id="u1u-UD-WJw"/>
|
||||
<action selector="sliderValueChanged:" destination="iMo-Z9-PrL" eventType="valueChanged" id="ZOq-XS-0M1"/>
|
||||
</connections>
|
||||
</slider>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="A2w-65-QSF" firstAttribute="leading" secondItem="zgN-eK-M4Q" secondAttribute="leading" constant="20" symbolic="YES" id="Aki-Hx-2C9"/>
|
||||
<constraint firstItem="4Ns-t9-gs7" firstAttribute="trailing" secondItem="zgN-eK-M4Q" secondAttribute="trailing" id="HFi-uV-wdo"/>
|
||||
<constraint firstAttribute="bottom" secondItem="nA3-W2-kn7" secondAttribute="bottom" constant="87" id="Jdn-RD-NPI"/>
|
||||
<constraint firstItem="A2w-65-QSF" firstAttribute="trailing" secondItem="zgN-eK-M4Q" secondAttribute="trailing" constant="20" symbolic="YES" id="WWj-l6-D2k"/>
|
||||
<constraint firstItem="A2w-65-QSF" firstAttribute="bottom" secondItem="zgN-eK-M4Q" secondAttribute="bottom" id="e3s-lP-iPh"/>
|
||||
<constraint firstAttribute="trailing" secondItem="nA3-W2-kn7" secondAttribute="trailing" id="lOJ-ew-ZyI"/>
|
||||
<constraint firstItem="nA3-W2-kn7" firstAttribute="top" secondItem="zgN-eK-M4Q" secondAttribute="top" id="lUb-ik-h6u"/>
|
||||
<constraint firstItem="4Ns-t9-gs7" firstAttribute="leading" secondItem="zgN-eK-M4Q" secondAttribute="leading" id="ma4-AV-cQs"/>
|
||||
<constraint firstItem="nA3-W2-kn7" firstAttribute="leading" secondItem="zgN-eK-M4Q" secondAttribute="leading" id="p8G-QE-uZ8"/>
|
||||
<constraint firstAttribute="bottom" secondItem="4Ns-t9-gs7" secondAttribute="bottom" constant="45" id="qfD-gf-vLB"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<navigationItem key="navigationItem" id="xMw-um-vMA"/>
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
<simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
|
||||
<connections>
|
||||
<outlet property="pause_button" destination="nH5-s3-C0i" id="VWV-EW-jB6"/>
|
||||
<outlet property="play_button" destination="8Yb-MS-rAF" id="5SI-l2-mAJ"/>
|
||||
<outlet property="time_label" destination="R6T-PH-VPd" id="bGs-Zr-rv3"/>
|
||||
<outlet property="time_slider" destination="4Ns-t9-gs7" id="9Ne-1N-clc"/>
|
||||
<outlet property="video_container_view" destination="nA3-W2-kn7" id="lEY-hP-YHD"/>
|
||||
<outlet property="video_height_constraint" destination="5z2-ux-czd" id="9R7-fg-G0e"/>
|
||||
<outlet property="video_view" destination="WHW-sv-bWc" id="c6W-td-a74"/>
|
||||
<outlet property="video_width_constraint" destination="76i-Rz-yha" id="vSP-Kk-v8g"/>
|
||||
</connections>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="YOs-uD-FMw" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-609" y="-199"/>
|
||||
</scene>
|
||||
<!--LibraryViewController-->
|
||||
<scene sceneID="5eb-Di-aQ1">
|
||||
<objects>
|
||||
<tableViewController title="Library" id="bdY-7c-pia" userLabel="LibraryViewController" customClass="LibraryViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="4vG-QM-31k">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
||||
<prototypes>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CellIdentifier" textLabel="QLZ-ec-hHM" detailTextLabel="kAu-kE-DrP" style="IBUITableViewCellStyleSubtitle" id="nmS-s6-sIj">
|
||||
<rect key="frame" x="0.0" y="119" width="320" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="nmS-s6-sIj" id="P61-er-gaf">
|
||||
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" tag="10" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="QLZ-ec-hHM">
|
||||
<rect key="frame" x="15" y="2" width="36" height="22"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" tag="11" contentMode="left" text="Subtitle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="kAu-kE-DrP">
|
||||
<rect key="frame" x="15" y="24" width="50" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</label>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<segue destination="iMo-Z9-PrL" kind="push" identifier="playVideo" id="jW0-JJ-SqQ"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
</prototypes>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="bdY-7c-pia" id="yhT-ag-TvP"/>
|
||||
<outlet property="delegate" destination="bdY-7c-pia" id="usy-2O-hgr"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<navigationItem key="navigationItem" id="3Tj-RI-j7Z">
|
||||
<barButtonItem key="rightBarButtonItem" systemItem="refresh" id="B0E-4z-3fo" userLabel="Refresh">
|
||||
<connections>
|
||||
<action selector="refresh:" destination="bdY-7c-pia" id="3oQ-nv-MUd"/>
|
||||
</connections>
|
||||
</barButtonItem>
|
||||
</navigationItem>
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="pXd-g9-Hdc" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-1036" y="-199"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination" type="retina4"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
BIN
playback/player/ios/GstPlay/Ubuntu-R.ttf
Normal file
BIN
playback/player/ios/GstPlay/Ubuntu-R.ttf
Normal file
Binary file not shown.
23
playback/player/ios/GstPlay/VideoViewController.h
Normal file
23
playback/player/ios/GstPlay/VideoViewController.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface VideoViewController : UIViewController {
|
||||
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;
|
||||
IBOutlet UIToolbar *toolbar;
|
||||
IBOutlet UITextField *time_label;
|
||||
IBOutlet UISlider *time_slider;
|
||||
}
|
||||
|
||||
@property (retain,nonatomic) NSString *uri;
|
||||
|
||||
-(IBAction) play:(id)sender;
|
||||
-(IBAction) pause:(id)sender;
|
||||
-(IBAction) sliderValueChanged:(id)sender;
|
||||
-(IBAction) sliderTouchDown:(id)sender;
|
||||
-(IBAction) sliderTouchUp:(id)sender;
|
||||
|
||||
@end
|
204
playback/player/ios/GstPlay/VideoViewController.m
Normal file
204
playback/player/ios/GstPlay/VideoViewController.m
Normal file
|
@ -0,0 +1,204 @@
|
|||
#import "VideoViewController.h"
|
||||
#import <gst/player/gstplayer.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface VideoViewController () {
|
||||
GstPlayer *player;
|
||||
int media_width; /* Width of the clip */
|
||||
int media_height; /* height ofthe clip */
|
||||
Boolean dragging_slider; /* Whether the time slider is being dragged or not */
|
||||
Boolean is_local_media; /* Whether this clip is stored locally or is being streamed */
|
||||
Boolean is_playing_desired; /* Whether the user asked to go to PLAYING */
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation VideoViewController
|
||||
|
||||
@synthesize uri;
|
||||
|
||||
/*
|
||||
* Private methods
|
||||
*/
|
||||
|
||||
/* The text widget acts as an slave for the seek bar, so it reflects what the seek bar shows, whether
|
||||
* it is an actual pipeline position or the position the user is currently dragging to. */
|
||||
- (void) updateTimeWidget
|
||||
{
|
||||
NSInteger position = time_slider.value / 1000;
|
||||
NSInteger duration = time_slider.maximumValue / 1000;
|
||||
NSString *position_txt = @" -- ";
|
||||
NSString *duration_txt = @" -- ";
|
||||
|
||||
if (duration > 0) {
|
||||
NSUInteger hours = duration / (60 * 60);
|
||||
NSUInteger minutes = (duration / 60) % 60;
|
||||
NSUInteger seconds = duration % 60;
|
||||
|
||||
duration_txt = [NSString stringWithFormat:@"%02u:%02u:%02u", hours, minutes, seconds];
|
||||
}
|
||||
if (position > 0) {
|
||||
NSUInteger hours = position / (60 * 60);
|
||||
NSUInteger minutes = (position / 60) % 60;
|
||||
NSUInteger seconds = position % 60;
|
||||
|
||||
position_txt = [NSString stringWithFormat:@"%02u:%02u:%02u", hours, minutes, seconds];
|
||||
}
|
||||
|
||||
NSString *text = [NSString stringWithFormat:@"%@ / %@",
|
||||
position_txt, duration_txt];
|
||||
|
||||
time_label.text = text;
|
||||
}
|
||||
|
||||
/*
|
||||
* Methods from UIViewController
|
||||
*/
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
/* As soon as the GStreamer backend knows the real values, these ones will be replaced */
|
||||
media_width = 320;
|
||||
media_height = 240;
|
||||
|
||||
player = gst_player_new(FALSE);
|
||||
g_object_set (player, "window-handle", video_view, NULL);
|
||||
g_object_set (player, "uri", [uri UTF8String], NULL);
|
||||
|
||||
gst_debug_set_threshold_for_name("gst-player", GST_LEVEL_TRACE);
|
||||
|
||||
g_signal_connect (player, "position-updated", G_CALLBACK (position_updated), (__bridge gpointer) self);
|
||||
g_signal_connect (player, "duration-changed", G_CALLBACK (duration_changed), (__bridge gpointer) self);
|
||||
g_signal_connect (player, "video-dimensions-changed", G_CALLBACK (video_dimensions_changed), (__bridge gpointer) self);
|
||||
|
||||
is_local_media = [uri hasPrefix:@"file://"];
|
||||
is_playing_desired = NO;
|
||||
}
|
||||
|
||||
- (void)viewDidDisappear:(BOOL)animated
|
||||
{
|
||||
if (player)
|
||||
{
|
||||
gst_object_unref (player);
|
||||
}
|
||||
[UIApplication sharedApplication].idleTimerDisabled = NO;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
/* Called when the Play button is pressed */
|
||||
-(IBAction) play:(id)sender
|
||||
{
|
||||
gst_player_play (player);
|
||||
is_playing_desired = YES;
|
||||
[UIApplication sharedApplication].idleTimerDisabled = YES;
|
||||
}
|
||||
|
||||
/* Called when the Pause button is pressed */
|
||||
-(IBAction) pause:(id)sender
|
||||
{
|
||||
gst_player_pause(player);
|
||||
is_playing_desired = NO;
|
||||
[UIApplication sharedApplication].idleTimerDisabled = NO;
|
||||
}
|
||||
|
||||
/* Called when the time slider position has changed, either because the user dragged it or
|
||||
* we programmatically changed its position. dragging_slider tells us which one happened */
|
||||
- (IBAction)sliderValueChanged:(id)sender {
|
||||
if (!dragging_slider) return;
|
||||
// If this is a local file, allow scrub seeking, this is, seek as soon as the slider is moved.
|
||||
if (is_local_media)
|
||||
gst_player_seek (player, ((long)time_slider.value) * 1000000);
|
||||
[self updateTimeWidget];
|
||||
}
|
||||
|
||||
/* Called when the user starts to drag the time slider */
|
||||
- (IBAction)sliderTouchDown:(id)sender {
|
||||
gst_player_pause (player);
|
||||
dragging_slider = YES;
|
||||
}
|
||||
|
||||
/* Called when the user stops dragging the time slider */
|
||||
- (IBAction)sliderTouchUp:(id)sender {
|
||||
dragging_slider = NO;
|
||||
// If this is a remote file, scrub seeking is probably not going to work smoothly enough.
|
||||
// Therefore, perform only the seek when the slider is released.
|
||||
if (!is_local_media)
|
||||
gst_player_seek (player, ((long)time_slider.value) * 1000000);
|
||||
if (is_playing_desired)
|
||||
gst_player_play (player);
|
||||
}
|
||||
|
||||
/* Called when the size of the main view has changed, so we can
|
||||
* resize the sub-views in ways not allowed by storyboarding. */
|
||||
- (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;
|
||||
}
|
||||
|
||||
time_slider.frame = CGRectMake(time_slider.frame.origin.x, time_slider.frame.origin.y, toolbar.frame.size.width - time_slider.frame.origin.x - 8, time_slider.frame.size.height);
|
||||
}
|
||||
|
||||
static void video_dimensions_changed (GstPlayer * unused, gint width, gint height, VideoViewController * self)
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self videoDimensionsChanged:width height:height];
|
||||
});
|
||||
}
|
||||
|
||||
-(void) videoDimensionsChanged:(NSInteger)width height:(NSInteger)height
|
||||
{
|
||||
media_width = width;
|
||||
media_height = height;
|
||||
[self viewDidLayoutSubviews];
|
||||
[video_view setNeedsLayout];
|
||||
[video_view layoutIfNeeded];
|
||||
}
|
||||
|
||||
static void position_updated (GstPlayer * unused, GstClockTime position, VideoViewController *self)
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self positionUpdated:(int) (position / 1000000)];
|
||||
});
|
||||
}
|
||||
|
||||
-(void) positionUpdated:(NSInteger)position
|
||||
{
|
||||
/* Ignore messages from the pipeline if the time sliders is being dragged */
|
||||
if (dragging_slider) return;
|
||||
|
||||
time_slider.value = position;
|
||||
[self updateTimeWidget];
|
||||
}
|
||||
|
||||
static void duration_changed (GstPlayer * unused, GstClockTime duration, VideoViewController *self)
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self durationChanged:(int) (duration / 1000000)];
|
||||
});
|
||||
}
|
||||
|
||||
-(void) durationChanged:(NSInteger)duration
|
||||
{
|
||||
time_slider.maximumValue = duration;
|
||||
[self updateTimeWidget];
|
||||
}
|
||||
|
||||
@end
|
2
playback/player/ios/GstPlay/en.lproj/InfoPlist.strings
Normal file
2
playback/player/ios/GstPlay/en.lproj/InfoPlist.strings
Normal file
|
@ -0,0 +1,2 @@
|
|||
/* Localized versions of Info.plist keys */
|
||||
|
126
playback/player/ios/GstPlay/fonts.conf
Normal file
126
playback/player/ios/GstPlay/fonts.conf
Normal file
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<!-- /etc/fonts/fonts.conf file to configure system font access -->
|
||||
<fontconfig>
|
||||
|
||||
<!-- Font directory list -->
|
||||
|
||||
<dir prefix="xdg"></dir>
|
||||
|
||||
<!-- Font cache directory list -->
|
||||
|
||||
<cachedir prefix="xdg"></cachedir>
|
||||
|
||||
<!--
|
||||
Accept deprecated 'mono' alias, replacing it with 'monospace'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>mono</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>monospace</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>sans serif</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>sans-serif</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>sans</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>sans-serif</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<config>
|
||||
<!--
|
||||
These are the default Unicode chars that are expected to be blank
|
||||
in fonts. All other blank chars are assumed to be broken and
|
||||
won't appear in the resulting charsets
|
||||
-->
|
||||
<blank>
|
||||
<int>0x0020</int> <!-- SPACE -->
|
||||
<int>0x00A0</int> <!-- NO-BREAK SPACE -->
|
||||
<int>0x00AD</int> <!-- SOFT HYPHEN -->
|
||||
<int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
|
||||
<int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
|
||||
<int>0x0601</int> <!-- ARABIC SIGN SANAH -->
|
||||
<int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
|
||||
<int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
|
||||
<int>0x06DD</int> <!-- ARABIC END OF AYAH -->
|
||||
<int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
|
||||
<int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
|
||||
<int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
|
||||
<int>0x1680</int> <!-- OGHAM SPACE MARK -->
|
||||
<int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
|
||||
<int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
|
||||
<int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
|
||||
<int>0x2000</int> <!-- EN QUAD -->
|
||||
<int>0x2001</int> <!-- EM QUAD -->
|
||||
<int>0x2002</int> <!-- EN SPACE -->
|
||||
<int>0x2003</int> <!-- EM SPACE -->
|
||||
<int>0x2004</int> <!-- THREE-PER-EM SPACE -->
|
||||
<int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
|
||||
<int>0x2006</int> <!-- SIX-PER-EM SPACE -->
|
||||
<int>0x2007</int> <!-- FIGURE SPACE -->
|
||||
<int>0x2008</int> <!-- PUNCTUATION SPACE -->
|
||||
<int>0x2009</int> <!-- THIN SPACE -->
|
||||
<int>0x200A</int> <!-- HAIR SPACE -->
|
||||
<int>0x200B</int> <!-- ZERO WIDTH SPACE -->
|
||||
<int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
|
||||
<int>0x200D</int> <!-- ZERO WIDTH JOINER -->
|
||||
<int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
|
||||
<int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
|
||||
<int>0x2028</int> <!-- LINE SEPARATOR -->
|
||||
<int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
|
||||
<int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
|
||||
<int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
|
||||
<int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
|
||||
<int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
|
||||
<int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
|
||||
<int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
|
||||
<int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
|
||||
<int>0x2060</int> <!-- WORD JOINER -->
|
||||
<int>0x2061</int> <!-- FUNCTION APPLICATION -->
|
||||
<int>0x2062</int> <!-- INVISIBLE TIMES -->
|
||||
<int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
|
||||
<int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
|
||||
<int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
|
||||
<int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
|
||||
<int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
|
||||
<int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
|
||||
<int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
|
||||
<int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
|
||||
<int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
|
||||
<int>0x3164</int> <!-- HANGUL FILLER -->
|
||||
<int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
|
||||
<int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
|
||||
<int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
|
||||
<int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
|
||||
<int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
|
||||
</blank>
|
||||
<!--
|
||||
Rescan configuration every 30 seconds when FcFontSetList is called
|
||||
-->
|
||||
<rescan>
|
||||
<int>30</int>
|
||||
</rescan>
|
||||
</config>
|
||||
|
||||
</fontconfig>
|
||||
|
39
playback/player/ios/GstPlay/gst_ios_init.h
Normal file
39
playback/player/ios/GstPlay/gst_ios_init.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
#ifndef __GST_IOS_INIT_H__
|
||||
#define __GST_IOS_INIT_H__
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_G_IO_MODULE_DECLARE(name) \
|
||||
extern void G_PASTE(g_io_module_, G_PASTE(name, _load_static)) (void)
|
||||
|
||||
#define GST_G_IO_MODULE_LOAD(name) \
|
||||
G_PASTE(g_io_module_, G_PASTE(name, _load_static)) ()
|
||||
|
||||
/* 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_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
|
||||
//#define GST_IOS_PLUGINS_EDITING
|
||||
|
||||
|
||||
#define GST_IOS_GIO_MODULE_GNUTLS
|
||||
|
||||
void gst_ios_init ();
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
988
playback/player/ios/GstPlay/gst_ios_init.m
Normal file
988
playback/player/ios/GstPlay/gst_ios_init.m
Normal file
|
@ -0,0 +1,988 @@
|
|||
#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_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_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_VIDEOCONVERT) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_DECLARE(videoconvert);
|
||||
#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_CAMERABIN) || defined(GST_IOS_PLUGINS_CAPTURE)
|
||||
GST_PLUGIN_STATIC_DECLARE(camerabin);
|
||||
#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_MPEGPSDEMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(mpegpsdemux);
|
||||
#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_VOAACENC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(voaacenc);
|
||||
#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_DVDSUB) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(dvdsub);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDLPCMDEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(dvdlpcmdec);
|
||||
#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_XINGMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(xingmux);
|
||||
#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_LIBAV) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(libav);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ENCODING) || defined(GST_IOS_PLUGINS_ENCODING)
|
||||
GST_PLUGIN_STATIC_DECLARE(encoding);
|
||||
#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_RTMP) || defined(GST_IOS_PLUGINS_NET_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_DECLARE(rtmp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OSXAUDIO) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(osxaudio);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APPLEMEDIA) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(applemedia);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SHM) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(shm);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OPENGL) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_DECLARE(opengl);
|
||||
#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_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_DTMF) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dtmf);
|
||||
#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_ACCURIP) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(accurip);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AIFF) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(aiff);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOFXBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(audiofxbad);
|
||||
#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_DEBUGUTILSBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(debugutilsbad);
|
||||
#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_IVTC) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(ivtc);
|
||||
#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_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_SPEED) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(speed);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOFILTERSBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videofiltersbad);
|
||||
#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_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_VPX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(vpx);
|
||||
#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_DASHDEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(dashdemux);
|
||||
#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_ID3TAG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(id3tag);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_KATE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(kate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MIDI) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(midi);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MXF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(mxf);
|
||||
#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_RFBSRC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(rfbsrc);
|
||||
#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_SMOOTHSTREAMING) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(smoothstreaming);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SUBENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(subenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(y4mdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(jpegformat);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GDP) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(gdp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RSVG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_DECLARE(rsvg);
|
||||
#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_RTPMANAGER) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(rtpmanager);
|
||||
#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_SDP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_DECLARE(sdp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GNONLIN) || defined(GST_IOS_PLUGINS_EDITING)
|
||||
GST_PLUGIN_STATIC_DECLARE(gnonlin);
|
||||
#endif
|
||||
|
||||
#if defined(GST_IOS_GIO_MODULE_GNUTLS)
|
||||
#include <gio/gio.h>
|
||||
GST_G_IO_MODULE_DECLARE(gnutls);
|
||||
#endif
|
||||
|
||||
void
|
||||
gst_ios_init (void)
|
||||
{
|
||||
GstPluginFeature *plugin;
|
||||
GstRegistry *reg;
|
||||
NSString *resources = [[NSBundle mainBundle] resourcePath];
|
||||
NSString *tmp = NSTemporaryDirectory();
|
||||
NSString *cache = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches"];
|
||||
NSString *docs = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
|
||||
|
||||
const gchar *resources_dir = [resources UTF8String];
|
||||
const gchar *tmp_dir = [tmp UTF8String];
|
||||
const gchar *cache_dir = [cache UTF8String];
|
||||
const gchar *docs_dir = [docs UTF8String];
|
||||
gchar *ca_certificates;
|
||||
|
||||
g_setenv ("TMP", tmp_dir, TRUE);
|
||||
g_setenv ("TEMP", tmp_dir, TRUE);
|
||||
g_setenv ("TMPDIR", tmp_dir, TRUE);
|
||||
g_setenv ("XDG_RUNTIME_DIR", resources_dir, TRUE);
|
||||
g_setenv ("XDG_CACHE_HOME", cache_dir, TRUE);
|
||||
|
||||
g_setenv ("HOME", docs_dir, TRUE);
|
||||
g_setenv ("XDG_DATA_DIRS", resources_dir, TRUE);
|
||||
g_setenv ("XDG_CONFIG_DIRS", resources_dir, TRUE);
|
||||
g_setenv ("XDG_CONFIG_HOME", cache_dir, TRUE);
|
||||
g_setenv ("XDG_DATA_HOME", resources_dir, TRUE);
|
||||
g_setenv ("FONTCONFIG_PATH", resources_dir, TRUE);
|
||||
|
||||
ca_certificates = g_build_filename (resources_dir, "ssl", "certs", "ca-certifcates.crt", NULL);
|
||||
g_setenv ("CA_CERTIFICATES", ca_certificates, TRUE);
|
||||
g_free (ca_certificates);
|
||||
|
||||
gst_init (NULL, NULL);
|
||||
|
||||
#if defined(GST_IOS_PLUGIN_COREELEMENTS) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(coreelements);
|
||||
#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_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_VIDEOCONVERT) || defined(GST_IOS_PLUGINS_CORE)
|
||||
GST_PLUGIN_STATIC_REGISTER(videoconvert);
|
||||
#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_CAMERABIN) || defined(GST_IOS_PLUGINS_CAPTURE)
|
||||
GST_PLUGIN_STATIC_REGISTER(camerabin);
|
||||
#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_MPEGPSDEMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(mpegpsdemux);
|
||||
#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_VOAACENC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(voaacenc);
|
||||
#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_DVDSUB) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(dvdsub);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_DVDLPCMDEC) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(dvdlpcmdec);
|
||||
#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_XINGMUX) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(xingmux);
|
||||
#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_LIBAV) || defined(GST_IOS_PLUGINS_CODECS_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(libav);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_ENCODING) || defined(GST_IOS_PLUGINS_ENCODING)
|
||||
GST_PLUGIN_STATIC_REGISTER(encoding);
|
||||
#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_RTMP) || defined(GST_IOS_PLUGINS_NET_RESTRICTED)
|
||||
GST_PLUGIN_STATIC_REGISTER(rtmp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OSXAUDIO) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(osxaudio);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_APPLEMEDIA) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(applemedia);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SHM) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(shm);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_OPENGL) || defined(GST_IOS_PLUGINS_SYS)
|
||||
GST_PLUGIN_STATIC_REGISTER(opengl);
|
||||
#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_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_DTMF) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dtmf);
|
||||
#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_ACCURIP) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(accurip);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AIFF) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(aiff);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_AUDIOFXBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(audiofxbad);
|
||||
#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_DEBUGUTILSBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(debugutilsbad);
|
||||
#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_IVTC) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(ivtc);
|
||||
#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_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_SPEED) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(speed);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOFILTERSBAD) || defined(GST_IOS_PLUGINS_EFFECTS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videofiltersbad);
|
||||
#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_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_VPX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(vpx);
|
||||
#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_DASHDEMUX) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(dashdemux);
|
||||
#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_ID3TAG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(id3tag);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_KATE) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(kate);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MIDI) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(midi);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_MXF) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(mxf);
|
||||
#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_RFBSRC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(rfbsrc);
|
||||
#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_SMOOTHSTREAMING) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(smoothstreaming);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_SUBENC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(subenc);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_VIDEOPARSERSBAD) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_Y4MDEC) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(y4mdec);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_JPEGFORMAT) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(jpegformat);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GDP) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(gdp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_RSVG) || defined(GST_IOS_PLUGINS_CODECS)
|
||||
GST_PLUGIN_STATIC_REGISTER(rsvg);
|
||||
#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_RTPMANAGER) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(rtpmanager);
|
||||
#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_SDP) || defined(GST_IOS_PLUGINS_NET)
|
||||
GST_PLUGIN_STATIC_REGISTER(sdp);
|
||||
#endif
|
||||
#if defined(GST_IOS_PLUGIN_GNONLIN) || defined(GST_IOS_PLUGINS_EDITING)
|
||||
GST_PLUGIN_STATIC_REGISTER(gnonlin);
|
||||
#endif
|
||||
|
||||
#if defined(GST_IOS_GIO_MODULE_GNUTLS)
|
||||
GST_G_IO_MODULE_LOAD(gnutls);
|
||||
#endif
|
||||
|
||||
/* Lower the ranks of filesrc and giosrc so iosavassetsrc is
|
||||
* tried first in gst_element_make_from_uri() for file:// */
|
||||
reg = gst_registry_get();
|
||||
plugin = gst_registry_lookup_feature(reg, "filesrc");
|
||||
if (plugin)
|
||||
gst_plugin_feature_set_rank(plugin, GST_RANK_SECONDARY);
|
||||
plugin = gst_registry_lookup_feature(reg, "giosrc");
|
||||
if (plugin)
|
||||
gst_plugin_feature_set_rank(plugin, GST_RANK_SECONDARY-1);
|
||||
}
|
12
playback/player/ios/GstPlay/main.m
Normal file
12
playback/player/ios/GstPlay/main.m
Normal file
|
@ -0,0 +1,12 @@
|
|||
#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]));
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue