qrtt1

Untitled

Jun 15th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. qty:jni qrtt1$ git show
  2. commit 1a3edca042cc735ba0b3bbad859f90497c90bdb1
  3. Author: Ching Yi, Chan <[email protected]>
  4. Date: Fri Jun 15 13:08:05 2012 +0800
  5.  
  6. http seek disable only for http:// prefix
  7.  
  8. diff --git a/jni/mp4remuxer.jni.c b/jni/mp4remuxer.jni.c
  9. index c1e8809..d3adad1 100644
  10. --- a/jni/mp4remuxer.jni.c
  11. +++ b/jni/mp4remuxer.jni.c
  12. @@ -59,7 +59,7 @@ JNIEXPORT jboolean JNICALL Java_net_muzee_vplayer_remuxer_MP4Remuxer_beginTransR
  13. info_remuxer("disabke http-seek: %d", disable_http_seek);
  14. ctx.need_transcode_audio = enable_aac == JNI_TRUE ? 1 : 0;
  15.  
  16. - if(disable_http_seek && strstr(media, "://") != NULL)
  17. + if(disable_http_seek && strstr(media, "http://") != NULL)
  18. {
  19. strcpy(media_without_seek, "http,+seek+0++");
  20. strcat(media_without_seek, strstr(media, "://"));
Advertisement
Add Comment
Please, Sign In to add comment