Skip to content

Commit

Permalink
android: disable IMediaDataSrouce for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bbcallen committed Jul 14, 2016
1 parent 7e743aa commit e65e8f8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 40 deletions.
8 changes: 1 addition & 7 deletions ijkmedia/ijkplayer/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,8 @@ LOCAL_SRC_FILES += android/pipeline/ffpipeline_android.c
LOCAL_SRC_FILES += android/pipeline/ffpipenode_android_mediacodec_vdec.c

LOCAL_SRC_FILES += ijkavformat/allformats.c
LOCAL_SRC_FILES += ijkavformat/async.c
LOCAL_SRC_FILES += ijkavformat/ijkinject.c
LOCAL_SRC_FILES += ijkavformat/ijklivehook.c
LOCAL_SRC_FILES += ijkavformat/ijklongurl.c
LOCAL_SRC_FILES += ijkavformat/ijkmediadatasource.c
LOCAL_SRC_FILES += ijkavformat/ijksegment.c
LOCAL_SRC_FILES += ijkavformat/ijkurlhook.c
LOCAL_SRC_FILES += ijkavformat/utils.c
# LOCAL_SRC_FILES += ijkavformat/ijkmediadatasource.c

LOCAL_SHARED_LIBRARIES := ijkffmpeg ijksdl
LOCAL_STATIC_LIBRARIES := android-ndk-profiler
Expand Down
2 changes: 1 addition & 1 deletion ijkmedia/ijkplayer/android/ijkplayer_jni.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "ijkplayer_android.h"
#include "ijksdl/android/ijksdl_android_jni.h"
#include "ijksdl/android/ijksdl_codec_android_mediadef.h"
#include "ijkplayer/ijkavformat/ijkavformat.h"
#include "libavformat/ijkavformat.h"

#define JNI_MODULE_PACKAGE "tv/danmaku/ijk/media/player"
#define JNI_CLASS_IJKPLAYER "tv/danmaku/ijk/media/player/IjkMediaPlayer"
Expand Down
2 changes: 1 addition & 1 deletion ijkmedia/ijkplayer/ijkavformat/allformats.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void ijkav_register_all(void)
/* protocols */
av_log(NULL, AV_LOG_INFO, "===== custom modules begin =====\n");
#ifdef __ANDROID__
IJK_REGISTER_PROTOCOL(ijkmediadatasource);
// IJK_REGISTER_PROTOCOL(ijkmediadatasource);
#endif

/* demuxers */
Expand Down
29 changes: 0 additions & 29 deletions ijkmedia/ijkplayer/ijkavformat/url.h

This file was deleted.

2 changes: 0 additions & 2 deletions ios/IJKMediaPlayer/IJKMediaPlayer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
E68B7AC41C1E7F20001DE241 /* IJKSDLHudViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IJKSDLHudViewController.m; sourceTree = "<group>"; };
E68B7ACD1C1E97B0001DE241 /* IJKSDLHudViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IJKSDLHudViewCell.h; sourceTree = "<group>"; };
E68B7ACE1C1E97B0001DE241 /* IJKSDLHudViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IJKSDLHudViewCell.m; sourceTree = "<group>"; };
E69007F11B96E2A600EB346D /* url.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = url.h; sourceTree = "<group>"; };
E6903EC017EAF6C500CFD954 /* IJKMediaPlayer-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "IJKMediaPlayer-Prefix.pch"; sourceTree = "<group>"; };
E6903EC117EAF6C500CFD954 /* IJKMediaPlayback.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = IJKMediaPlayback.h; path = IJKMediaPlayer/IJKMediaPlayback.h; sourceTree = "<group>"; };
E6903FD517EAFC6100CFD954 /* ff_cmdutils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ff_cmdutils.c; sourceTree = "<group>"; };
Expand Down Expand Up @@ -590,7 +589,6 @@
children = (
E69BE54A1B93FED300AFBA3F /* allformats.c */,
E69BE5701B946FF600AFBA3F /* ijklivehook.c */,
E69007F11B96E2A600EB346D /* url.h */,
);
path = ijkavformat;
sourceTree = "<group>";
Expand Down

0 comments on commit e65e8f8

Please sign in to comment.