mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
zaheer :
Original commit message from CVS: zaheer : * gst/tcp/gsttcp.c: * gst/tcp/gsttcpclientsrc.c: * gst/tcp/gsttcpclientsrc.h: * gst/tcp/gsttcpserversrc.c: - portability fix, to compile on OSX (fixes #143146) * sys/osxaudio/gstosxaudioelement.c: * sys/osxaudio/gstosxaudiosink.c: * sys/osxaudio/gstosxaudiosrc.c: - compilation warnings on OSX (fixes #143153) me : * ext/vorbis/vorbisdec.c : sign warning fixes * gst-libs/gst/mixer/mixertrack.c : forgoten include to define newly used G_MAXINT32, bad owen, bad
This commit is contained in:
parent
d95db89ae8
commit
23e3f829f4
8 changed files with 35 additions and 4 deletions
22
ChangeLog
22
ChangeLog
|
@ -7,6 +7,28 @@
|
||||||
Added configurable boundary specifier, added the value as a
|
Added configurable boundary specifier, added the value as a
|
||||||
caps field as well.
|
caps field as well.
|
||||||
|
|
||||||
|
2004-06-02 Zaheer Abbas Merali <zaheerabbas@merali.org>
|
||||||
|
|
||||||
|
* gst/tcp/gsttcp.c:
|
||||||
|
* gst/tcp/gsttcpclientsrc.c:
|
||||||
|
* gst/tcp/gsttcpclientsrc.h:
|
||||||
|
* gst/tcp/gsttcpserversrc.c:
|
||||||
|
- portability fix, to compile on OSX
|
||||||
|
(fixes #143146)
|
||||||
|
|
||||||
|
* sys/osxaudio/gstosxaudioelement.c:
|
||||||
|
* sys/osxaudio/gstosxaudiosink.c:
|
||||||
|
* sys/osxaudio/gstosxaudiosrc.c:
|
||||||
|
- compilation warnings on OSX
|
||||||
|
(fixes #143153)
|
||||||
|
|
||||||
|
2004-06-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
|
* ext/vorbis/vorbisdec.c : sign warning fixes
|
||||||
|
|
||||||
|
* gst-libs/gst/mixer/mixertrack.c : forgoten include
|
||||||
|
to define newly used G_MAXINT32, bad owen, bad
|
||||||
|
|
||||||
2004-06-01 Christophe Fergeau <teuf@gnome.org>
|
2004-06-01 Christophe Fergeau <teuf@gnome.org>
|
||||||
|
|
||||||
* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
|
* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
|
||||||
|
|
|
@ -228,7 +228,7 @@ vorbis_dec_src_query (GstPad * pad, GstQueryType query, GstFormat * format,
|
||||||
&granulepos))
|
&granulepos))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!vorbis_dec_from_granulepos (dec, *format, granulepos, value))
|
if (!vorbis_dec_from_granulepos (dec, *format, granulepos, (guint64 *) value))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
GST_LOG_OBJECT (dec,
|
GST_LOG_OBJECT (dec,
|
||||||
|
@ -275,7 +275,8 @@ vorbis_dec_event (GstVorbisDec * dec, GstEvent * event)
|
||||||
GST_LOG_OBJECT (dec, "handling event");
|
GST_LOG_OBJECT (dec, "handling event");
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_DISCONTINUOUS:
|
case GST_EVENT_DISCONTINUOUS:
|
||||||
if (gst_event_discont_get_value (event, GST_FORMAT_DEFAULT, &value)) {
|
if (gst_event_discont_get_value (event, GST_FORMAT_DEFAULT,
|
||||||
|
(gint64 *) & value)) {
|
||||||
dec->granulepos = value;
|
dec->granulepos = value;
|
||||||
GST_DEBUG_OBJECT (dec,
|
GST_DEBUG_OBJECT (dec,
|
||||||
"setting granuleposition to %" G_GUINT64_FORMAT " after discont",
|
"setting granuleposition to %" G_GUINT64_FORMAT " after discont",
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
#include "mixertrack.h"
|
#include "mixertrack.h"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
#include "mixertrack.h"
|
#include "mixertrack.h"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
@ -154,7 +156,7 @@ gst_tcp_gdp_read_header (GstElement * this, int socket)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (ret != readsize) {
|
if (ret != readsize) {
|
||||||
g_warning ("Wanted %d bytes, got %d bytes", readsize, ret);
|
g_warning ("Wanted %d bytes, got %d bytes", (int) readsize, (int) ret);
|
||||||
}
|
}
|
||||||
g_assert (ret == readsize);
|
g_assert (ret == readsize);
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "gsttcpclientsrc.h"
|
#include "gsttcpclientsrc.h"
|
||||||
#include <string.h> /* memset */
|
#include <string.h> /* memset */
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
|
@ -29,6 +29,7 @@ extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#include <netdb.h> /* sockaddr_in */
|
#include <netdb.h> /* sockaddr_in */
|
||||||
|
#include <netinet/in.h> /* sockaddr_in */
|
||||||
#include "gsttcp.h"
|
#include "gsttcp.h"
|
||||||
|
|
||||||
#define GST_TYPE_TCPCLIENTSRC \
|
#define GST_TYPE_TCPCLIENTSRC \
|
||||||
|
|
|
@ -263,7 +263,7 @@ gst_tcpserversrc_gdp_read_header (GstTCPServerSrc * this)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (ret != readsize) {
|
if (ret != readsize) {
|
||||||
g_warning ("Wanted %d bytes, got %d bytes", readsize, ret);
|
g_warning ("Wanted %d bytes, got %d bytes", (int) readsize, (int) ret);
|
||||||
}
|
}
|
||||||
g_assert (ret == readsize);
|
g_assert (ret == readsize);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue