View | Details | Raw Unified
Collapse All | Expand All

(-) gst-plugins-bad-0.10.3.orig/configure.ac (-1 / +1 lines)
 Lines 492-498    Link Here 
dnl *** neon ***
dnl *** neon ***
translit(dnm, m, l) AM_CONDITIONAL(USE_NEON, true)
translit(dnm, m, l) AM_CONDITIONAL(USE_NEON, true)
GST_CHECK_FEATURE(NEON, [neon http client plugins], neonhttpsrc, [
GST_CHECK_FEATURE(NEON, [neon http client plugins], neonhttpsrc, [
  PKG_CHECK_MODULES(NEON, neon >= 0.25.5, HAVE_NEON="yes", [
  PKG_CHECK_MODULES(NEON, neon >= 0.25.5  neon <= 0.26.99, HAVE_NEON="yes", [
    HAVE_NEON="no"
    HAVE_NEON="no"
    AC_MSG_RESULT(no)
    AC_MSG_RESULT(no)
  ])
  ])
(-) gst-plugins-bad-0.10.3.orig/ext/neon/gstneonhttpsrc.c (-3 / +10 lines)
 Lines 20-25    Link Here 
#include <string.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#ifndef NE_FREE
#define NEON_026_OR_LATER  1
#endif
#define HTTP_DEFAULT_HOST        "localhost"
#define HTTP_DEFAULT_HOST        "localhost"
#define HTTP_DEFAULT_PORT        80
#define HTTP_DEFAULT_PORT        80
#define HTTPS_DEFAULT_PORT       443
#define HTTPS_DEFAULT_PORT       443
 Lines 626-635    Link Here 
  if (parsed->host && !parsed->port) {
  if (parsed->host && !parsed->port) {
    goto clear;
    goto clear;
  }
  }
#ifdef NEON_026_OR_LATER
  if (!parsed->path || parsed->authinfo) {
  if (!parsed->path || parsed->userinfo)
    goto clear;
    goto clear;
  }
#else
  if (!parsed->path || parsed->authinfo)
    goto clear;
#endif
  return TRUE;
  return TRUE;