mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
configure.ac: Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file support until we decide where the fla...
Original commit message from CVS: * configure.ac: Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file support until we decide where the flags should be used * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query): Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed * gst/gstpad.c: (gst_pad_link_call_link_functions): Output refused caps in the debug info
This commit is contained in:
parent
0cdc821508
commit
7dcd6a0533
5 changed files with 22 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2004-05-13 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
* configure.ac:
|
||||||
|
Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file
|
||||||
|
support until we decide where the flags should be used
|
||||||
|
* gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query):
|
||||||
|
Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed
|
||||||
|
* gst/gstpad.c: (gst_pad_link_call_link_functions):
|
||||||
|
Output refused caps in the debug info
|
||||||
|
|
||||||
2004-05-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-05-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/elements/gstidentity.c: (gst_identity_chain):
|
* gst/elements/gstidentity.c: (gst_identity_chain):
|
||||||
|
|
|
@ -566,7 +566,7 @@ dnl flags shared for all internal objects (core libs, elements, applications)
|
||||||
dnl we disable deprecated internally
|
dnl we disable deprecated internally
|
||||||
dnl XML, GLib, popt, GST_INT, VALGRIND, and the right include for CFLAGS
|
dnl XML, GLib, popt, GST_INT, VALGRIND, and the right include for CFLAGS
|
||||||
dnl no need to add XML, GLib, popt explicitly since libgstreamer pulls them in
|
dnl no need to add XML, GLib, popt explicitly since libgstreamer pulls them in
|
||||||
GST_INT_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS \
|
GST_INT_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS $GST_PKG_CFLAGS \
|
||||||
$GST_INT_CFLAGS $GST_ERROR_CFLAGS -DGST_DISABLE_DEPRECATED"
|
$GST_INT_CFLAGS $GST_ERROR_CFLAGS -DGST_DISABLE_DEPRECATED"
|
||||||
|
|
||||||
dnl Private vars for libgst only
|
dnl Private vars for libgst only
|
||||||
|
|
|
@ -871,6 +871,9 @@ gst_filesrc_srcpad_query (GstPad * pad, GstQueryType type,
|
||||||
{
|
{
|
||||||
GstFileSrc *src = GST_FILESRC (GST_PAD_PARENT (pad));
|
GstFileSrc *src = GST_FILESRC (GST_PAD_PARENT (pad));
|
||||||
|
|
||||||
|
if (*format == GST_FORMAT_DEFAULT)
|
||||||
|
*format = GST_FORMAT_BYTES;
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case GST_QUERY_TOTAL:
|
case GST_QUERY_TOTAL:
|
||||||
if (*format != GST_FORMAT_BYTES) {
|
if (*format != GST_FORMAT_BYTES) {
|
||||||
|
|
10
gst/gstpad.c
10
gst/gstpad.c
|
@ -1279,8 +1279,9 @@ gst_pad_link_call_link_functions (GstPadLink * link)
|
||||||
res, GST_DEBUG_PAD_NAME (link->srcpad));
|
res, GST_DEBUG_PAD_NAME (link->srcpad));
|
||||||
|
|
||||||
if (GST_PAD_LINK_FAILED (res)) {
|
if (GST_PAD_LINK_FAILED (res)) {
|
||||||
GST_CAT_INFO (GST_CAT_CAPS, "pad %s:%s doesn't accept caps",
|
GST_CAT_INFO (GST_CAT_CAPS,
|
||||||
GST_DEBUG_PAD_NAME (link->srcpad));
|
"pad %s:%s doesn't accept caps %" GST_PTR_FORMAT,
|
||||||
|
GST_DEBUG_PAD_NAME (link->srcpad), link->caps);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1307,8 +1308,9 @@ gst_pad_link_call_link_functions (GstPadLink * link)
|
||||||
res, GST_DEBUG_PAD_NAME (link->sinkpad));
|
res, GST_DEBUG_PAD_NAME (link->sinkpad));
|
||||||
|
|
||||||
if (GST_PAD_LINK_FAILED (res)) {
|
if (GST_PAD_LINK_FAILED (res)) {
|
||||||
GST_CAT_INFO (GST_CAT_CAPS, "pad %s:%s doesn't accept caps",
|
GST_CAT_INFO (GST_CAT_CAPS,
|
||||||
GST_DEBUG_PAD_NAME (link->sinkpad));
|
"pad %s:%s doesn't accept caps %" GST_PTR_FORMAT,
|
||||||
|
GST_DEBUG_PAD_NAME (link->sinkpad), link->caps);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -871,6 +871,9 @@ gst_filesrc_srcpad_query (GstPad * pad, GstQueryType type,
|
||||||
{
|
{
|
||||||
GstFileSrc *src = GST_FILESRC (GST_PAD_PARENT (pad));
|
GstFileSrc *src = GST_FILESRC (GST_PAD_PARENT (pad));
|
||||||
|
|
||||||
|
if (*format == GST_FORMAT_DEFAULT)
|
||||||
|
*format = GST_FORMAT_BYTES;
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case GST_QUERY_TOTAL:
|
case GST_QUERY_TOTAL:
|
||||||
if (*format != GST_FORMAT_BYTES) {
|
if (*format != GST_FORMAT_BYTES) {
|
||||||
|
|
Loading…
Reference in a new issue