libmms: patch to enable seeking support on mms protocol

Bug #65755 reported by Carthik Sharma
10
Affects Status Importance Assigned to Milestone
libmms (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Originally reported using reportbug. Filing by proxy.

Original report follows:

From: Anon Sricharoenchai <email address hidden>
To: Debian Bug Tracking System <email address hidden>, Ubuntu Bug Tracking System <email address hidden>
Cc: Anon Sricharoenchai <email address hidden>, <email address hidden>, <email address hidden>, <email address hidden>, "Soren Hansen \(shawarma\)" <email address hidden>
Subject: libmms: patch to enable seeking support on mms protocol
Date: Wed, 13 Sep 2006 02:53:48 -0700 (PDT)

Package: libmms
Version: 0.2-7
Severity: wishlist
Tags: patch

The patch will add support for byte offset seeking and time offset
seeking, and some other APIs as follows,
(Note: This patch is licensed under LGPL)

int mms_request_time_seek (mms_io_t *io, mms_t *instance, double time_sec);
int mms_time_seek (mms_io_t *io, mms_t *instance, double time_sec);
int mms_request_packet_seek (mms_io_t *io, mms_t *instance,
                                  unsigned long packet_seq);
/*
 * mms_seek() will try to seek using mms_request_packet_seek(), if the server
 * ignore the packet seek command, it will return unchanged current_pos, rather
 * than trying to mms_read() until the destination pos is reached. This is to
 * let the caller, by itself, to decide to choose the alternate method, such
 * as, mms_time_seek() and/or mms_read() until the destination pos is reached.
 * One can do binary search using time offset (mms_time_seek()) as a search
 * index, to approach the desired byte offset. It is to systematically guess
 * the time offset to reach for the byte offset.
 *
 * Known BUG: Application must be compiled with 64-bit file offset
 * (-D_FILE_OFFSET_BITS=64) to use this function correctly.
 */
off_t mms_seek (mms_io_t *io, mms_t *instance, off_t offset, int origin);
/* return total playback time in seconds */
double mms_get_time_length (mms_t *instance);
/* return raw total playback time in 100 nanosecs (10^-7) */
uint64_t mms_get_raw_time_length (mms_t *instance);

Tags: patch
Revision history for this message
Carthik Sharma (carthik) wrote :
Revision history for this message
Carthik Sharma (carthik) wrote :

marking as wishlist

Changed in libmms:
importance: Undecided → Wishlist
Revision history for this message
Daniel Holbach (dholbach) wrote :

The patch adds API - is it included upstream already?

Changed in libmms:
status: Unconfirmed → Needs Info
Revision history for this message
Anon Sricharoenchai (anon-hui) wrote : Re: [Bug 65755] Re: libmms: patch to enable seeking support on mms protocol

--- Daniel Holbach <email address hidden> wrote:

> The patch adds API - is it included upstream already?

Not yet, I think, since I see no any response from the upstream authors, after I've sent the patch
to them.

>
> ** Changed in: libmms (Ubuntu)
> Status: Unconfirmed => Needs Info
>
> --
> libmms: patch to enable seeking support on mms protocol
> https://launchpad.net/bugs/65755
>

____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

Revision history for this message
Emmet Hikory (persia) wrote :

I have unsubscribed ubuntu-universe-sponsors, as this is not a debdiff patch. Given that there is an API change, I suggest waiting for an upstream release, rather than changing in Ubuntu directly. If a debdiff is prepared for this patch, please resubscribe ubuntu-universe-sponsors for review. Thank you.

Revision history for this message
Soren Hansen (soren) wrote :

Included upstream. Thanks!

Changed in libmms:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.