Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4383 - trunk/src/http/modules

Anonymous User
December 26, 2011 05:50AM
Author: mdounin
Date: 2011-12-26 10:49:03 +0000 (Mon, 26 Dec 2011)
New Revision: 4383

Log:
Fixed mp4 if first entry in stsc was skipped (ticket #72).

If first entry in stsc atom was skipped, and seek was to chunk boundary,
than first_chunk in the generated stsc table wasn't set to 1.


Modified:
trunk/src/http/modules/ngx_http_mp4_module.c

Modified: trunk/src/http/modules/ngx_http_mp4_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_mp4_module.c 2011-12-25 20:08:37 UTC (rev 4382)
+++ trunk/src/http/modules/ngx_http_mp4_module.c 2011-12-26 10:49:03 UTC (rev 4383)
@@ -2382,6 +2382,8 @@
data->pos = (u_char *) entry;
atom_size = sizeof(ngx_mp4_stsc_atom_t) + (data->last - data->pos);

+ ngx_mp4_set_32value(entry->chunk, 1);
+
if (trak->chunk_samples) {

first = &trak->stsc_chunk_entry;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4383 - trunk/src/http/modules

Anonymous User 1334 December 26, 2011 05:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready