Skip to content

Instantly share code, notes, and snippets.

|+ Cues at 209762302
| + Cue point at 209762307
| + Cue time: 0.000s at 209762309
| + Cue track positions at 209762312
| + Cue track: 1 at 209762314
| + Cue cluster position: 2532 at 209762317
| + Cue point at 209762321
| + Cue time: 6798455.555s at 209762323
| + Cue track positions at 209762330
| + Cue track: 1 at 209762332
commit c3a5b174337851781248d661ae2704e178e4abc1
Author: Rodger Combs <rodger.combs@gmail.com>
Date: Mon Aug 10 15:14:39 2015 -0500
vo_cocoa: hide cursor using a blank image instead of a system-wide API
Fixes #503
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 234e032..f16f7ae 100644
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 5d48989..1578529 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -103,6 +103,7 @@ typedef struct MOVSbgp {
typedef struct MOVFragmentIndexItem {
int64_t moof_offset;
int64_t time;
+ int headers_read;
} MOVFragmentIndexItem;
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 5d48989..1578529 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -103,6 +103,7 @@ typedef struct MOVSbgp {
typedef struct MOVFragmentIndexItem {
int64_t moof_offset;
int64_t time;
+ int headers_read;
} MOVFragmentIndexItem;
+#if CONFIG_LIBX262_ENCODER
+ if (avctx->codec_id == AV_CODEC_ID_MPEG2VIDEO) {
+ x4->params.b_mpeg2 = 1;
+ x264_param_default_mpeg2(&x4->params);
+ } else
+#else
x264_param_default(&x4->params);
+#endif
/*
* BRSTM demuxer
* Copyright (c) 2012 Paul B Mahol
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
#! /usr/bin/env node
var forge = require('node-forge'),
crypto = require('crypto'),
fs = require('fs');
var file = fs.readFileSync(process.argv[2], { encoding: 'base64' });
var hash = crypto.createHash('sha512');
hash.update('plex');
hash.update(process.argv[3])
* thread #1: tid = 0x0000, 0x00007fff98916286 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP
* frame #0: 0x00007fff98916286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff9501142f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff90341b53 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff90309c39 libsystem_c.dylib`__assert_rtn + 321
frame #4: 0x00000001071bccaa mpv`ta_set_parent [inlined] ta_dbg_check_header + 298 at ta.c:333
frame #5: 0x00000001071bcc8b mpv`ta_set_parent [inlined] get_header(ptr=<unavailable>) at ta.c:77
frame #6: 0x00000001071bcc8b mpv`ta_set_parent(ptr=<unavailable>, ta_parent=<unavailable>) + 267 at ta.c:115
frame #7: 0x00000001071bcd92 mpv`ta_alloc_size(ta_parent=0x00007fb8f0812040, size=<unavailable>) + 226 at ta.c:153
frame #8: 0x00000001071371ed mpv`get_bind_section(ictx=0x00007fb8f0812040, section=<unavailable>) + 141 at input.c:344
diff --git a/libavformat/http.c b/libavformat/http.c
index b2293da..bbe5de5 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -917,6 +917,9 @@ static int http_connect(URLContext *h, const char *path, const char *local_path,
if (err < 0)
goto done;
+ if (*new_location)
+ s->off = off;
> GET /pack/4695/[Commie]%20Kantai%20Collection%20-%2012%20[0F7701FC].mkv HTTP/1.1
> Range: bytes=12210176-
> User-Agent: curl/7.36.0
> Host: tori.aoi-chan.com
> Accept: */*
>
< HTTP/1.1 302 Found
* Server nginx/1.6.2 (Ubuntu) is not blacklisted
< Server: nginx/1.6.2 (Ubuntu)
< Date: Mon, 13 Apr 2015 04:59:04 GMT