Bugzilla – Attachment 48083 Details for
Bug 113937
GStreamer/cdparanoia gst_pad_query invalid data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Patch against our gstreamer-plugins package, fixes the bug.
gstreamer-plugins-0.8.10-cd-total-sectors.patch (text/plain), 1.06 KB, created by
Hans Petter Jansson
on 2005-08-30 01:54:35 UTC
(
hide
)
Description:
Patch against our gstreamer-plugins package, fixes the bug.
Filename:
MIME Type:
Creator:
Hans Petter Jansson
Created:
2005-08-30 01:54:35 UTC
Size:
1.06 KB
patch
obsolete
>diff -upr gst-plugins-0.8.10-old/ext/cdparanoia/gstcdparanoia.c gst-plugins-0.8.10-new/ext/cdparanoia/gstcdparanoia.c >--- gst-plugins-0.8.10-old/ext/cdparanoia/gstcdparanoia.c 2005-06-14 11:37:53.000000000 -0500 >+++ gst-plugins-0.8.10-new/ext/cdparanoia/gstcdparanoia.c 2005-08-29 20:07:12.000000000 -0500 >@@ -1283,9 +1283,15 @@ cdparanoia_query (GstPad * pad, GstQuery > *value = src->d->tracks; > res = TRUE; > } else { >- res = gst_pad_convert (src->srcpad, sector_format, >- get_first_sector (src, src->cur_track + 1) - >- get_first_sector (src, src->cur_track), format, value); >+ if (src->track_mode) { >+ /* Current track*/ >+ res = gst_pad_convert (src->srcpad, sector_format, >+ get_first_sector (src, src->cur_track + 1) - >+ get_first_sector (src, src->cur_track), format, value); >+ } else { >+ /* CD total */ >+ res = gst_pad_convert (src->srcpad, sector_format, src->last_sector + 1, format, value); >+ } > } > break; > case GST_QUERY_POSITION:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 113937
:
48052
| 48083 |
48256